Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.004569/0.004569, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7827/0.7827, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.509/1.509, allocations: 221.3 MB / 395 MB, free: 10.17 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.001053/0.001053, allocations: 102.8 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4555/0.4566, allocations: 88.42 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.6477, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.934/5.581, allocations: 1.933 GB / 2.566 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/5.582, allocations: 91.94 kB / 2.566 GB, free: 27.11 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 2.927/8.509, allocations: 0.6293 GB / 3.195 GB, free: 117 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/8.509, allocations: 10.84 kB / 3.195 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/8.512, allocations: 395.6 kB / 3.196 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003515/8.515, allocations: 1.218 MB / 3.197 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/8.515, allocations: 37.73 kB / 3.197 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/8.515, allocations: 70.16 kB / 3.197 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001571/8.517, allocations: 0.7036 MB / 3.198 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/8.519, allocations: 0.9462 MB / 3.199 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/8.519, allocations: 11.11 kB / 3.199 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.264e-05/8.519, allocations: 7.156 kB / 3.199 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/8.519, allocations: 33.91 kB / 3.199 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00717/8.526, allocations: 5.031 MB / 3.204 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/8.527, allocations: 0.6437 MB / 3.204 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/8.528, allocations: 321.2 kB / 3.205 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/8.529, allocations: 315.2 kB / 3.205 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/8.529, allocations: 47.97 kB / 3.205 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 4.128e-06/8.529, allocations: 0 / 3.205 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.00228/8.531, allocations: 0.7478 MB / 3.206 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/8.531, allocations: 162.6 kB / 3.206 GB, free: 113 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/8.532, allocations: 0.5903 MB / 3.206 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/8.532, allocations: 25.7 kB / 3.206 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/8.533, allocations: 416.2 kB / 3.207 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/8.533, allocations: 239.9 kB / 3.207 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/8.533, allocations: 0 / 3.207 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001549/8.533, allocations: 339.7 kB / 3.207 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/8.534, allocations: 229.1 kB / 3.208 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/8.534, allocations: 459.9 kB / 3.208 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/8.535, allocations: 367 kB / 3.208 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/8.535, allocations: 7.094 kB / 3.208 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001546/8.536, allocations: 0.8086 MB / 3.209 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007224/8.537, allocations: 1.66 MB / 3.211 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/8.537, allocations: 3.875 kB / 3.211 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/8.537, allocations: 11.34 kB / 3.211 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/8.539, allocations: 267.3 kB / 3.211 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/8.54, allocations: 1.348 MB / 3.212 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/8.542, allocations: 98.86 kB / 3.213 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-05/8.542, allocations: 36.78 kB / 3.213 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/8.542, allocations: 7.344 kB / 3.213 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001362/8.543, allocations: 0.6776 MB / 3.213 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/8.543, allocations: 13.86 kB / 3.213 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/8.543, allocations: 7.875 kB / 3.213 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/8.545, allocations: 261.9 kB / 3.213 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/8.546, allocations: 1.363 MB / 3.215 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/8.547, allocations: 94.92 kB / 3.215 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/8.547, allocations: 34.41 kB / 3.215 GB, free: 107.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002611/8.548, allocations: 130.6 kB / 3.215 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/8.548, allocations: 104.8 kB / 3.215 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/8.55, allocations: 0.7998 MB / 3.216 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/8.55, allocations: 11.81 kB / 3.216 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/8.55, allocations: 0 / 3.216 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/8.551, allocations: 0.7329 MB / 3.217 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/8.555, allocations: 1.881 MB / 3.219 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/8.555, allocations: 0 / 3.219 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/8.556, allocations: 158.8 kB / 3.219 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/8.557, allocations: 48.12 kB / 3.219 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/8.557, allocations: 7.344 kB / 3.219 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/8.558, allocations: 1.325 MB / 3.22 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/8.558, allocations: 7.484 kB / 3.22 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002503/8.561, allocations: 1.373 MB / 3.221 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003461/8.564, allocations: 2.235 MB / 3.224 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006965/8.565, allocations: 248.8 kB / 3.224 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/8.565, allocations: 7.422 kB / 3.224 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/8.566, allocations: 62.98 kB / 3.224 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/8.566, allocations: 44.78 kB / 3.224 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/8.566, allocations: 24.31 kB / 3.224 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007788/8.567, allocations: 465.4 kB / 3.224 GB, free: 104 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00461/8.571, allocations: 1.102 MB / 3.225 GB, free: 103.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003205/8.574, allocations: 2.003 MB / 3.227 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003626/8.578, allocations: 1.18 MB / 3.229 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/8.578, allocations: 3.719 kB / 3.229 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000704/8.579, allocations: 423.4 kB / 3.229 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/8.581, allocations: 410.3 kB / 3.229 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/8.585, allocations: 1.692 MB / 3.231 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/8.587, allocations: 1.268 MB / 3.232 GB, free: 102 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/8.587, allocations: 0 / 3.232 GB, free: 102 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)