Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005745/0.005745, allocations: 185.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7002/0.7002, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 105.6 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.424/0.4251, allocations: 88.42 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.61, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.55/5.16, allocations: 1.895 GB / 2.528 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/5.161, allocations: 83.45 kB / 2.528 GB, free: 32.37 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 3.788/8.949, allocations: 1.052 GB / 3.58 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/8.949, allocations: 8 kB / 3.58 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/8.954, allocations: 0.6687 MB / 3.581 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/8.959, allocations: 1.47 MB / 3.582 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/8.959, allocations: 126.3 kB / 3.582 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/8.96, allocations: 72 kB / 3.582 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002771/8.963, allocations: 1.024 MB / 3.583 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/8.965, allocations: 1.235 MB / 3.585 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/8.965, allocations: 0 / 3.585 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/8.966, allocations: 7.906 kB / 3.585 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/8.966, allocations: 38.27 kB / 3.585 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00948/8.975, allocations: 6.144 MB / 3.591 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/8.976, allocations: 0.8433 MB / 3.592 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/8.977, allocations: 483.5 kB / 3.592 GB, free: 308 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007772/8.978, allocations: 482.1 kB / 3.592 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008535/8.979, allocations: 0.5248 MB / 3.593 GB, free: 15.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 2.935e-06/8.979, allocations: 0 / 3.593 GB, free: 15.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.007729/8.986, allocations: 2.557 MB / 3.595 GB, free: 12.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/8.987, allocations: 188.6 kB / 3.596 GB, free: 12.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/8.989, allocations: 0.9258 MB / 3.597 GB, free: 11.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001943/8.989, allocations: 25.7 kB / 3.597 GB, free: 11.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/8.99, allocations: 0.4935 MB / 3.597 GB, free: 10.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/8.99, allocations: 287.7 kB / 3.597 GB, free: 10.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/8.99, allocations: 0 / 3.597 GB, free: 10.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000161/8.991, allocations: 337.9 kB / 3.598 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/8.991, allocations: 349.9 kB / 3.598 GB, free: 9.918 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/8.992, allocations: 0.5766 MB / 3.599 GB, free: 9.254 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005225/8.997, allocations: 1.635 MB / 3.6 GB, free: 7.594 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/8.997, allocations: 7.938 kB / 3.6 GB, free: 7.586 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002867/9, allocations: 1.142 MB / 3.601 GB, free: 6.434 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006013/9.001, allocations: 1.432 MB / 3.603 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/9.001, allocations: 11.92 kB / 3.603 GB, free: 4.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/9.001, allocations: 48.84 kB / 3.603 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/9.002, allocations: 211.8 kB / 3.603 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006774/9.003, allocations: 0.5992 MB / 3.604 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/9.005, allocations: 139.7 kB / 3.604 GB, free: 3.891 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/9.005, allocations: 39.97 kB / 3.604 GB, free: 3.852 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/9.005, allocations: 8 kB / 3.604 GB, free: 3.844 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002227/9.007, allocations: 0.943 MB / 3.605 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/9.007, allocations: 8.094 kB / 3.605 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/9.008, allocations: 44.84 kB / 3.605 GB, free: 2.844 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/9.009, allocations: 219.7 kB / 3.605 GB, free: 2.629 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/9.011, allocations: 1.462 MB / 3.606 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/9.013, allocations: 131.8 kB / 3.606 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/9.013, allocations: 43.95 kB / 3.606 GB, free: 0.8672 MB / 0.698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005256/9.014, allocations: 158.5 kB / 3.607 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007066/9.015, allocations: 150.2 kB / 3.607 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3847/9.399, allocations: 1.111 MB / 3.608 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/9.399, allocations: 7.25 kB / 3.608 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/9.399, allocations: 0 / 3.608 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/9.401, allocations: 0.9924 MB / 3.609 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/9.406, allocations: 2.729 MB / 3.611 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/9.406, allocations: 7.062 kB / 3.612 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009916/9.407, allocations: 198 kB / 3.612 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/9.407, allocations: 44.06 kB / 3.612 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-05/9.407, allocations: 21.83 kB / 3.612 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003019/9.407, allocations: 0.5944 MB / 3.612 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/9.407, allocations: 7.062 kB / 3.612 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002786/9.41, allocations: 2.043 MB / 3.614 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004295/9.414, allocations: 3.11 MB / 3.617 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/9.416, allocations: 351.3 kB / 3.618 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/9.416, allocations: 6.031 kB / 3.618 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/9.417, allocations: 132.6 kB / 3.618 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/9.417, allocations: 51.83 kB / 3.618 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.461e-05/9.417, allocations: 43.05 kB / 3.618 GB, free: 142.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001111/9.418, allocations: 0.7024 MB / 3.619 GB, free: 142.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005079/9.424, allocations: 1.437 MB / 3.62 GB, free: 142.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003792/9.427, allocations: 2.631 MB / 3.623 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002585/9.43, allocations: 1.588 MB / 3.624 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/9.43, allocations: 3.906 kB / 3.624 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000713/9.431, allocations: 0.5142 MB / 3.625 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/9.434, allocations: 0.6712 MB / 3.625 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007175/9.441, allocations: 2.637 MB / 3.628 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/9.443, allocations: 1.502 MB / 3.629 GB, free: 140.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/9.443, allocations: 0 / 3.629 GB, free: 140.1 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)