Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.286/1.286, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009884/0.0009883, allocations: 181.2 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008923/0.0008924, allocations: 92.92 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3755/0.3765, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.5794, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.969/4.548, allocations: 2.19 GB / 3.074 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/4.548, allocations: 82.94 kB / 3.074 GB, free: 168.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.8341/5.383, allocations: 260.2 MB / 3.328 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/5.383, allocations: 9.531 kB / 3.328 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/5.384, allocations: 180.3 kB / 3.329 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/5.384, allocations: 0.5478 MB / 3.329 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/5.384, allocations: 18.31 kB / 3.329 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/5.384, allocations: 33.22 kB / 3.329 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006886/5.385, allocations: 461.8 kB / 3.33 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/5.386, allocations: 0.5583 MB / 3.33 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/5.386, allocations: 0 / 3.33 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/5.386, allocations: 3.969 kB / 3.33 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/5.386, allocations: 24.09 kB / 3.33 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/5.389, allocations: 2.14 MB / 3.332 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/5.389, allocations: 212.1 kB / 3.332 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/5.389, allocations: 114.6 kB / 3.333 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/5.389, allocations: 7.812 kB / 3.333 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/5.389, allocations: 37.56 kB / 3.333 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/5.389, allocations: 0 / 3.333 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0007309/5.39, allocations: 312.5 kB / 3.333 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/5.39, allocations: 81.02 kB / 3.333 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/5.39, allocations: 373.7 kB / 3.333 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/5.39, allocations: 25.7 kB / 3.333 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/5.391, allocations: 304.5 kB / 3.334 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/5.391, allocations: 70.61 kB / 3.334 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/5.391, allocations: 0 / 3.334 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/5.391, allocations: 349.5 kB / 3.334 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/5.391, allocations: 102.1 kB / 3.334 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/5.391, allocations: 210.3 kB / 3.334 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/5.391, allocations: 138.2 kB / 3.335 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/5.391, allocations: 0 / 3.335 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006422/5.392, allocations: 432.9 kB / 3.335 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/5.392, allocations: 3.875 kB / 3.335 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/5.392, allocations: 7.516 kB / 3.335 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/5.392, allocations: 93.14 kB / 3.335 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/5.392, allocations: 71.14 kB / 3.335 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/5.394, allocations: 2.814 MB / 3.338 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/5.395, allocations: 52.91 kB / 3.338 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/5.395, allocations: 11.19 kB / 3.338 GB, free: 182.2 MB / 0.8698 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 (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 9.339e-05/5.395, allocations: 111 kB / 3.338 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/5.395, allocations: 54.59 kB / 3.338 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/5.395, allocations: 46.28 kB / 3.338 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/5.395, allocations: 7.906 kB / 3.338 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/5.395, allocations: 0 / 3.338 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000436/5.395, allocations: 497.6 kB / 3.339 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/5.396, allocations: 0.8127 MB / 3.339 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/5.397, allocations: 3.188 kB / 3.339 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/5.397, allocations: 45.12 kB / 3.339 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001833/5.397, allocations: 58.19 kB / 3.339 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/5.397, allocations: 7.969 kB / 3.339 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/5.398, allocations: 1.521 MB / 3.341 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/5.398, allocations: 5.625 kB / 3.341 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004624/5.398, allocations: 430.9 kB / 3.341 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000613/5.399, allocations: 0.8219 MB / 3.342 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/5.399, allocations: 175.9 kB / 3.342 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/5.399, allocations: 1.594 kB / 3.342 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/5.4, allocations: 39.53 kB / 3.342 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/5.4, allocations: 12.73 kB / 3.342 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/5.4, allocations: 16.81 kB / 3.342 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002762/5.4, allocations: 279.2 kB / 3.343 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001617/5.402, allocations: 383.2 kB / 3.343 GB, free: 179.1 MB / 0.8698 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.001154/5.403, allocations: 1.074 MB / 3.344 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005543/5.404, allocations: 459.5 kB / 3.345 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/5.404, allocations: 5.375 kB / 3.345 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/5.404, allocations: 206.9 kB / 3.345 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/5.405, allocations: 242.3 kB / 3.345 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/5.406, allocations: 0.6561 MB / 3.346 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/5.407, allocations: 0.9653 MB / 3.347 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of SimCode: time 3.71e-07/5.407, allocations: 3.938 kB / 3.347 GB, free: 177.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)