Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 390.4 MB / 397.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 189.9 kB / 490.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 96.52 kB / 0.9264 GB, free: 20.97 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.378/0.379, allocations: 149.1 MB / 1.072 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9346/1.314, allocations: 143 MB / 1.212 GB, free: 53.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.432/5.746, allocations: 1.982 GB / 3.193 GB, free: 7.184 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/5.746, allocations: 83.3 kB / 3.193 GB, free: 7.145 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 1.274/7.02, allocations: 272.3 MB / 3.459 GB, free: 196.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/7.021, allocations: 12 kB / 3.459 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/7.022, allocations: 171 kB / 3.46 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/7.023, allocations: 0.5393 MB / 3.46 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/7.023, allocations: 20 kB / 3.46 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/7.024, allocations: 31.94 kB / 3.46 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000931/7.025, allocations: 462.5 kB / 3.461 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/7.026, allocations: 0.5526 MB / 3.461 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/7.026, allocations: 4 kB / 3.461 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/7.026, allocations: 0 / 3.461 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/7.026, allocations: 21.31 kB / 3.461 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/7.029, allocations: 2.164 MB / 3.463 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/7.03, allocations: 214.9 kB / 3.463 GB, free: 191.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/7.03, allocations: 108.8 kB / 3.464 GB, free: 191.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/7.03, allocations: 4 kB / 3.464 GB, free: 191.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/7.03, allocations: 38.56 kB / 3.464 GB, free: 191.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 2.945e-06/7.03, allocations: 3.984 kB / 3.464 GB, free: 191.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.000928/7.031, allocations: 314.7 kB / 3.464 GB, free: 191.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/7.031, allocations: 81.45 kB / 3.464 GB, free: 191.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/7.031, allocations: 369 kB / 3.464 GB, free: 190.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/7.032, allocations: 25.7 kB / 3.464 GB, free: 190.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/7.032, allocations: 286.9 kB / 3.465 GB, free: 190.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/7.032, allocations: 71.02 kB / 3.465 GB, free: 190.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/7.032, allocations: 0 / 3.465 GB, free: 190.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/7.032, allocations: 350.8 kB / 3.465 GB, free: 190 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/7.032, allocations: 108.6 kB / 3.465 GB, free: 189.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/7.032, allocations: 203.1 kB / 3.465 GB, free: 189.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/7.032, allocations: 139.9 kB / 3.465 GB, free: 189.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/7.032, allocations: 0 / 3.465 GB, free: 189.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007358/7.033, allocations: 439.1 kB / 3.466 GB, free: 189.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/7.033, allocations: 9.094 kB / 3.466 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/7.033, allocations: 0 / 3.466 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/7.034, allocations: 89.78 kB / 3.466 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/7.034, allocations: 75.91 kB / 3.466 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/7.036, allocations: 2.801 MB / 3.469 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/7.037, allocations: 47.72 kB / 3.469 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/7.037, allocations: 16.06 kB / 3.469 GB, free: 185.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001625/7.037, allocations: 118.9 kB / 3.469 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/7.037, allocations: 47.47 kB / 3.469 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/7.037, allocations: 39.47 kB / 3.469 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/7.037, allocations: 7.922 kB / 3.469 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/7.037, allocations: 4 kB / 3.469 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005877/7.038, allocations: 0.495 MB / 3.469 GB, free: 185 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/7.039, allocations: 0.8087 MB / 3.47 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/7.039, allocations: 4 kB / 3.47 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/7.039, allocations: 35.98 kB / 3.47 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002119/7.04, allocations: 64.81 kB / 3.47 GB, free: 184 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/7.04, allocations: 0 / 3.47 GB, free: 184 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/7.041, allocations: 1.53 MB / 3.472 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/7.041, allocations: 0 / 3.472 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005498/7.041, allocations: 428.8 kB / 3.472 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008459/7.042, allocations: 0.8293 MB / 3.473 GB, free: 181.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/7.043, allocations: 164.4 kB / 3.473 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/7.043, allocations: 0 / 3.473 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/7.043, allocations: 31.97 kB / 3.473 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/7.043, allocations: 11.98 kB / 3.473 GB, free: 180.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/7.043, allocations: 19.89 kB / 3.473 GB, free: 180.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002656/7.044, allocations: 275.2 kB / 3.474 GB, free: 180.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001852/7.045, allocations: 371.5 kB / 3.474 GB, free: 180.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/7.047, allocations: 1.092 MB / 3.475 GB, free: 179.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007816/7.048, allocations: 463.3 kB / 3.475 GB, free: 178.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/7.048, allocations: 3.75 kB / 3.475 GB, free: 178.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/7.048, allocations: 205.8 kB / 3.476 GB, free: 178.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/7.049, allocations: 233.9 kB / 3.476 GB, free: 178.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/7.051, allocations: 0.6408 MB / 3.476 GB, free: 177.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/7.052, allocations: 0.9622 MB / 3.477 GB, free: 176.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/7.052, allocations: 0 / 3.477 GB, free: 176.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)