Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.003371/0.00337, allocations: 181 kB / 7.458 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6954/0.6954, 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.61/1.61, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009684/0.0009683, allocations: 97.36 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5126/0.5137, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.7063, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.059/5.766, allocations: 2.128 GB / 2.761 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/5.766, allocations: 91.94 kB / 2.761 GB, free: 111.5 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 1.857/7.623, allocations: 487.7 MB / 3.238 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/7.623, allocations: 10.56 kB / 3.238 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/7.626, allocations: 0.4979 MB / 3.238 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/7.629, allocations: 1.37 MB / 3.239 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/7.629, allocations: 31 kB / 3.239 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/7.63, allocations: 61.75 kB / 3.24 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002494/7.632, allocations: 1.185 MB / 3.241 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/7.634, allocations: 1.129 MB / 3.242 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/7.634, allocations: 0 / 3.242 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/7.634, allocations: 1.25 kB / 3.242 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.501e-05/7.635, allocations: 44.19 kB / 3.242 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00803/7.643, allocations: 4.81 MB / 3.247 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/7.644, allocations: 0.9334 MB / 3.247 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/7.645, allocations: 0.5674 MB / 3.248 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004032/7.646, allocations: 201.8 kB / 3.248 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/7.646, allocations: 48 kB / 3.248 GB, free: 149 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 3.828e-06/7.646, allocations: 3.188 kB / 3.248 GB, free: 149 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.005948/7.652, allocations: 2.547 MB / 3.251 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/7.652, allocations: 59.62 kB / 3.251 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/7.653, allocations: 0.7877 MB / 3.252 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.302e-05/7.653, allocations: 27.55 kB / 3.252 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/7.653, allocations: 391.8 kB / 3.252 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/7.654, allocations: 281.3 kB / 3.252 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/7.654, allocations: 4.172 kB / 3.252 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/7.654, allocations: 343.9 kB / 3.253 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/7.655, allocations: 431.5 kB / 3.253 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/7.655, allocations: 0.6085 MB / 3.254 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/7.656, allocations: 0.5537 MB / 3.254 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/7.656, allocations: 0 / 3.254 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001654/7.658, allocations: 1.198 MB / 3.255 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/7.658, allocations: 1.051 MB / 3.256 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/7.658, allocations: 7.562 kB / 3.256 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/7.658, allocations: 76.81 kB / 3.256 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/7.659, allocations: 187.7 kB / 3.257 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/7.661, allocations: 2.906 MB / 3.259 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/7.663, allocations: 108.3 kB / 3.259 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/7.663, allocations: 28.06 kB / 3.26 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/7.663, allocations: 4 kB / 3.26 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/7.665, allocations: 1.073 MB / 3.261 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/7.665, allocations: 0 / 3.261 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/7.665, allocations: 72.81 kB / 3.261 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/7.666, allocations: 175.6 kB / 3.261 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/7.667, allocations: 1.711 MB / 3.262 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/7.668, allocations: 106.2 kB / 3.263 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/7.669, allocations: 32.25 kB / 3.263 GB, free: 136.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002574/7.669, allocations: 123.6 kB / 3.263 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/7.669, allocations: 110.7 kB / 3.263 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/7.671, allocations: 1.155 MB / 3.264 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/7.671, allocations: 8 kB / 3.264 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/7.671, allocations: 1.203 kB / 3.264 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/7.672, allocations: 1.22 MB / 3.265 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/7.676, allocations: 2.636 MB / 3.268 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/7.676, allocations: 0 / 3.268 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/7.677, allocations: 228.7 kB / 3.268 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/7.677, allocations: 68.81 kB / 3.268 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/7.677, allocations: 18.48 kB / 3.268 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/7.679, allocations: 2.905 MB / 3.271 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/7.679, allocations: 0 / 3.271 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00221/7.681, allocations: 2.038 MB / 3.273 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003486/7.685, allocations: 3.189 MB / 3.276 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009543/7.686, allocations: 323.6 kB / 3.276 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/7.686, allocations: 15.89 kB / 3.276 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/7.687, allocations: 82.88 kB / 3.276 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/7.687, allocations: 43.94 kB / 3.276 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/7.687, allocations: 31.98 kB / 3.276 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007553/7.688, allocations: 0.6244 MB / 3.277 GB, free: 121 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004369/7.692, allocations: 1.019 MB / 3.278 GB, free: 120 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/7.695, allocations: 1.519 MB / 3.28 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002911/7.698, allocations: 1.857 MB / 3.281 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/7.698, allocations: 4 kB / 3.281 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/7.698, allocations: 0.6513 MB / 3.282 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/7.702, allocations: 0.7101 MB / 3.283 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/7.706, allocations: 2.636 MB / 3.285 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/7.707, allocations: 1.559 MB / 3.287 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.041e-06/7.707, allocations: 0 / 3.287 GB, free: 111.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)