Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_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.003248/0.003248, allocations: 181 kB / 7.461 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7213/0.7213, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.72/1.72, 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.001265/0.001265, allocations: 107 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.568/0.5693, allocations: 88.42 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.8023, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.525/5.327, allocations: 1.933 GB / 2.566 GB, free: 25.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/5.327, allocations: 87.52 kB / 2.566 GB, free: 25.39 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.611/7.938, allocations: 0.6293 GB / 3.195 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/7.938, allocations: 10.75 kB / 3.195 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/7.94, allocations: 396.4 kB / 3.196 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/7.944, allocations: 1.225 MB / 3.197 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/7.944, allocations: 32.94 kB / 3.197 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/7.944, allocations: 64.5 kB / 3.197 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001491/7.946, allocations: 0.7078 MB / 3.198 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/7.948, allocations: 0.9505 MB / 3.199 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/7.948, allocations: 3.094 kB / 3.199 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/7.948, allocations: 3.75 kB / 3.199 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/7.948, allocations: 33.84 kB / 3.199 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007516/7.955, allocations: 5.037 MB / 3.204 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/7.957, allocations: 0.6379 MB / 3.204 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/7.957, allocations: 314.7 kB / 3.205 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006227/7.958, allocations: 315.2 kB / 3.205 GB, free: 110 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/7.958, allocations: 44.16 kB / 3.205 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 4.728e-06/7.958, allocations: 0 / 3.205 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001892/7.96, allocations: 0.7498 MB / 3.206 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/7.96, allocations: 165.7 kB / 3.206 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/7.961, allocations: 0.59 MB / 3.206 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/7.961, allocations: 30.55 kB / 3.206 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/7.961, allocations: 412.8 kB / 3.207 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/7.961, allocations: 243.5 kB / 3.207 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/7.961, allocations: 0 / 3.207 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/7.961, allocations: 340.2 kB / 3.207 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/7.962, allocations: 228.2 kB / 3.208 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/7.962, allocations: 458.9 kB / 3.208 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/7.963, allocations: 372.1 kB / 3.208 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/7.963, allocations: 0 / 3.208 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001275/7.964, allocations: 0.8119 MB / 3.209 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003381/7.964, allocations: 1.662 MB / 3.211 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/7.964, allocations: 3.906 kB / 3.211 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/7.964, allocations: 11.56 kB / 3.211 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/7.966, allocations: 264.5 kB / 3.211 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/7.967, allocations: 1.355 MB / 3.212 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/7.968, allocations: 98.11 kB / 3.213 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/7.968, allocations: 36.59 kB / 3.213 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/7.968, allocations: 3.531 kB / 3.213 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/7.97, allocations: 0.6808 MB / 3.213 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/7.97, allocations: 3.344 kB / 3.213 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/7.97, allocations: 6.906 kB / 3.213 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/7.971, allocations: 267.6 kB / 3.213 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/7.972, allocations: 1.358 MB / 3.215 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/7.973, allocations: 94.06 kB / 3.215 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/7.973, allocations: 37.42 kB / 3.215 GB, free: 104.2 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.0002307/7.974, allocations: 123.1 kB / 3.215 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/7.974, allocations: 106.6 kB / 3.215 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/7.976, allocations: 0.8088 MB / 3.216 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/7.976, allocations: 10.62 kB / 3.216 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/7.976, allocations: 3.75 kB / 3.216 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/7.977, allocations: 0.7334 MB / 3.217 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/7.981, allocations: 1.875 MB / 3.219 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/7.981, allocations: 10.19 kB / 3.219 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/7.981, allocations: 153.1 kB / 3.219 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/7.982, allocations: 44.8 kB / 3.219 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/7.982, allocations: 7.562 kB / 3.219 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/7.983, allocations: 1.325 MB / 3.22 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/7.983, allocations: 6.969 kB / 3.22 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002029/7.985, allocations: 1.369 MB / 3.221 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002905/7.988, allocations: 2.242 MB / 3.224 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006045/7.989, allocations: 250.8 kB / 3.224 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/7.989, allocations: 3.469 kB / 3.224 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/7.99, allocations: 67.42 kB / 3.224 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/7.99, allocations: 41.98 kB / 3.224 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/7.99, allocations: 26.86 kB / 3.224 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006823/7.99, allocations: 467.8 kB / 3.224 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003906/7.994, allocations: 1.098 MB / 3.225 GB, free: 100.6 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.002701/7.997, allocations: 2.001 MB / 3.227 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003541/8.001, allocations: 1.179 MB / 3.229 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/8.001, allocations: 7.562 kB / 3.229 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007411/8.001, allocations: 423.2 kB / 3.229 GB, free: 99.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/8.004, allocations: 408.1 kB / 3.229 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/8.008, allocations: 1.69 MB / 3.231 GB, free: 99.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008893/8.009, allocations: 1.274 MB / 3.232 GB, free: 98.73 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/8.009, allocations: 0 / 3.232 GB, free: 98.73 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)