Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_dev_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.004733/0.004733, allocations: 179.1 kB / 7.457 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7273/0.7273, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.42/1.42, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009776/0.0009774, allocations: 103.6 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4716/0.4726, allocations: 88.42 MB / 0.5529 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.6527, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.183/4.836, allocations: 1.895 GB / 2.528 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/4.836, allocations: 87.95 kB / 2.528 GB, free: 66.46 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.673/8.509, allocations: 1.052 GB / 3.58 GB, free: 38.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/8.51, allocations: 8 kB / 3.58 GB, free: 38.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006343/8.516, allocations: 0.6638 MB / 3.581 GB, free: 37.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005745/8.522, allocations: 1.478 MB / 3.582 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005228/8.522, allocations: 125.2 kB / 3.582 GB, free: 36.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/8.523, allocations: 72 kB / 3.582 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00315/8.526, allocations: 1.028 MB / 3.583 GB, free: 35.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/8.529, allocations: 1.232 MB / 3.585 GB, free: 33.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/8.529, allocations: 0 / 3.585 GB, free: 33.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/8.529, allocations: 4 kB / 3.585 GB, free: 33.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/8.529, allocations: 50.17 kB / 3.585 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/8.541, allocations: 6.131 MB / 3.591 GB, free: 27.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/8.543, allocations: 0.852 MB / 3.592 GB, free: 26.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/8.543, allocations: 475.5 kB / 3.592 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006539/8.544, allocations: 482 kB / 3.592 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007358/8.545, allocations: 0.5242 MB / 3.593 GB, free: 25.13 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 4.248e-06/8.545, allocations: 0 / 3.593 GB, free: 25.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.006719/8.552, allocations: 2.56 MB / 3.595 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/8.552, allocations: 196.6 kB / 3.596 GB, free: 22.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/8.553, allocations: 0.9252 MB / 3.597 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/8.553, allocations: 25.7 kB / 3.597 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/8.554, allocations: 498.2 kB / 3.597 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/8.554, allocations: 287.7 kB / 3.597 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/8.554, allocations: 4 kB / 3.597 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.579e-05/8.554, allocations: 334 kB / 3.598 GB, free: 20.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/8.555, allocations: 349.9 kB / 3.598 GB, free: 19.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/8.555, allocations: 0.5765 MB / 3.599 GB, free: 19.2 MB / 0.6823 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.00423/8.56, allocations: 1.64 MB / 3.6 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/8.56, allocations: 0 / 3.6 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002124/8.562, allocations: 1.145 MB / 3.601 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003538/8.562, allocations: 1.423 MB / 3.603 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/8.562, allocations: 4.219 kB / 3.603 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/8.562, allocations: 48.84 kB / 3.603 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009813/8.563, allocations: 227.6 kB / 3.603 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003973/8.564, allocations: 0.5991 MB / 3.604 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/8.565, allocations: 127.8 kB / 3.604 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/8.566, allocations: 43.95 kB / 3.604 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/8.566, allocations: 4 kB / 3.604 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001883/8.568, allocations: 0.9467 MB / 3.605 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/8.568, allocations: 4 kB / 3.605 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/8.568, allocations: 44.83 kB / 3.605 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/8.569, allocations: 220.1 kB / 3.605 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/8.57, allocations: 1.469 MB / 3.606 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/8.573, allocations: 131.7 kB / 3.606 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/8.573, allocations: 36.06 kB / 3.606 GB, free: 10.85 MB / 0.6823 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.0005039/8.574, allocations: 168 kB / 3.607 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006492/8.574, allocations: 150 kB / 3.607 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/8.577, allocations: 1.108 MB / 3.608 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/8.577, allocations: 8 kB / 3.608 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/8.577, allocations: 0 / 3.608 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001777/8.579, allocations: 0.9957 MB / 3.609 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/8.584, allocations: 2.731 MB / 3.612 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/8.584, allocations: 4 kB / 3.612 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/8.586, allocations: 204 kB / 3.612 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001417/8.586, allocations: 40.84 kB / 3.612 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/8.586, allocations: 23.89 kB / 3.612 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/8.586, allocations: 0.5913 MB / 3.612 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/8.586, allocations: 4 kB / 3.612 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002823/8.589, allocations: 2.039 MB / 3.614 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004164/8.593, allocations: 3.126 MB / 3.617 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/8.594, allocations: 343.1 kB / 3.618 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005823/8.595, allocations: 8 kB / 3.618 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/8.597, allocations: 135.7 kB / 3.618 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/8.597, allocations: 52.5 kB / 3.618 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/8.597, allocations: 35.98 kB / 3.618 GB, free: 14.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001884/8.599, allocations: 0.707 MB / 3.619 GB, free: 13.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006759/8.606, allocations: 1.433 MB / 3.62 GB, free: 12.39 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.005181/8.611, allocations: 2.64 MB / 3.623 GB, free: 9.664 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00411/8.615, allocations: 1.584 MB / 3.624 GB, free: 8.051 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/8.616, allocations: 4 kB / 3.624 GB, free: 8.047 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/8.617, allocations: 0.5115 MB / 3.625 GB, free: 7.531 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004889/8.622, allocations: 0.6785 MB / 3.625 GB, free: 6.859 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009787/8.631, allocations: 2.637 MB / 3.628 GB, free: 4.125 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/8.634, allocations: 1.497 MB / 3.629 GB, free: 2.602 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/8.634, allocations: 0 / 3.629 GB, free: 2.602 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u.fmu > IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)