Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterConstantProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterConstantProperties_pT",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/BuildingSystems 2.0.0-master/package.mo): time 0.7267/0.7267, allocations: 141.8 MB / 149.1 MB, free: 4.477 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 183.3 kB / 181.9 MB, free: 140 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.3 MB / 436 MB, free: 9.281 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009047, allocations: 92.61 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 280.5 kB / 0.5884 GB, free: 12.31 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1659/0.1677, allocations: 89.64 MB / 0.676 GB, free: 2.582 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.561, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6548/1.216, allocations: 428.3 MB / 1.175 GB, free: 3.359 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/1.216, allocations: 92.12 kB / 1.175 GB, free: 3.316 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.502/2.718, allocations: 0.4989 GB / 1.674 GB, free: 65.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/2.718, allocations: 8 kB / 1.674 GB, free: 65.39 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/2.719, allocations: 87.06 kB / 1.674 GB, free: 65.3 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1032/2.822, allocations: 41.61 MB / 1.715 GB, free: 23.56 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/2.822, allocations: 20 kB / 1.715 GB, free: 23.54 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/2.822, allocations: 28 kB / 1.715 GB, free: 23.51 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005197/2.823, allocations: 265.9 kB / 1.715 GB, free: 23.25 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/2.823, allocations: 426.1 kB / 1.715 GB, free: 22.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/2.823, allocations: 0 / 1.715 GB, free: 22.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/2.823, allocations: 4 kB / 1.715 GB, free: 22.79 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/2.823, allocations: 12 kB / 1.715 GB, free: 22.78 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/2.826, allocations: 2.654 MB / 1.718 GB, free: 19.91 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/2.826, allocations: 130 kB / 1.718 GB, free: 19.78 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.912e-05/2.826, allocations: 89.2 kB / 1.718 GB, free: 19.69 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/2.826, allocations: 344.5 kB / 1.719 GB, free: 19.28 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/2.826, allocations: 34.75 kB / 1.719 GB, free: 19.23 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/2.826, allocations: 0 / 1.719 GB, free: 19.23 MB / 0.6982 GB Notification: Performance of matching and sorting (n=21): time 0.0004731/2.827, allocations: 237.2 kB / 1.719 GB, free: 19 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.464e-05/2.827, allocations: 55.34 kB / 1.719 GB, free: 18.93 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/2.827, allocations: 430.2 kB / 1.719 GB, free: 18.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/2.827, allocations: 25.7 kB / 1.719 GB, free: 18.47 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/2.827, allocations: 275.2 kB / 1.72 GB, free: 18.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/2.827, allocations: 78.89 kB / 1.72 GB, free: 18.12 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/2.827, allocations: 0 / 1.72 GB, free: 18.12 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/2.827, allocations: 358.8 kB / 1.72 GB, free: 17.76 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/2.827, allocations: 81.41 kB / 1.72 GB, free: 17.68 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/2.828, allocations: 218.8 kB / 1.72 GB, free: 17.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/2.828, allocations: 123.9 kB / 1.72 GB, free: 17.28 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/2.828, allocations: 4 kB / 1.72 GB, free: 17.28 MB / 0.6982 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004861/2.828, allocations: 344.5 kB / 1.721 GB, free: 16.93 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/2.829, allocations: 1.655 MB / 1.722 GB, free: 15.15 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/2.829, allocations: 4 kB / 1.722 GB, free: 15.14 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/2.829, allocations: 8 kB / 1.722 GB, free: 15.14 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/2.829, allocations: 75.91 kB / 1.722 GB, free: 15.06 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/2.829, allocations: 11.84 kB / 1.722 GB, free: 15.05 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/2.829, allocations: 55.59 kB / 1.723 GB, free: 15 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/2.829, allocations: 16 kB / 1.723 GB, free: 14.98 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/2.829, allocations: 4 kB / 1.723 GB, free: 14.98 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003867/2.83, allocations: 259.5 kB / 1.723 GB, free: 14.72 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/2.83, allocations: 4 kB / 1.723 GB, free: 14.72 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/2.83, allocations: 11.91 kB / 1.723 GB, free: 14.71 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/2.83, allocations: 76.45 kB / 1.723 GB, free: 14.63 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/2.83, allocations: 4 kB / 1.723 GB, free: 14.63 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/2.83, allocations: 47.7 kB / 1.723 GB, free: 14.58 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/2.83, allocations: 16 kB / 1.723 GB, free: 14.57 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/2.831, allocations: 120.8 kB / 1.723 GB, free: 14.44 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/2.831, allocations: 59.34 kB / 1.723 GB, free: 14.38 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/2.831, allocations: 263.9 kB / 1.723 GB, free: 14.12 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/2.831, allocations: 4 kB / 1.723 GB, free: 14.11 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.831, allocations: 3.906 kB / 1.723 GB, free: 14.11 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002997/2.831, allocations: 358.8 kB / 1.724 GB, free: 13.71 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/2.833, allocations: 0.9387 MB / 1.725 GB, free: 12.69 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/2.833, allocations: 4 kB / 1.725 GB, free: 12.68 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/2.833, allocations: 48.22 kB / 1.725 GB, free: 12.64 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/2.833, allocations: 4 kB / 1.725 GB, free: 12.63 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/2.833, allocations: 12 kB / 1.725 GB, free: 12.62 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/2.833, allocations: 7.938 kB / 1.725 GB, free: 12.61 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/2.833, allocations: 7.906 kB / 1.725 GB, free: 12.61 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005338/2.833, allocations: 0.5853 MB / 1.725 GB, free: 11.93 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007504/2.834, allocations: 1.088 MB / 1.726 GB, free: 10.75 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/2.834, allocations: 172.3 kB / 1.727 GB, free: 10.56 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/2.835, allocations: 7.938 kB / 1.727 GB, free: 10.55 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/2.835, allocations: 31.94 kB / 1.727 GB, free: 10.52 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/2.835, allocations: 11.98 kB / 1.727 GB, free: 10.51 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/2.835, allocations: 15.98 kB / 1.727 GB, free: 10.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0002955/2.835, allocations: 326.9 kB / 1.727 GB, free: 10.18 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002372/2.838, allocations: 475 kB / 1.727 GB, free: 9.715 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007067/2.838, allocations: 445.3 kB / 1.728 GB, free: 9.289 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0004811/2.839, allocations: 372.1 kB / 1.728 GB, free: 8.926 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.839, allocations: 0 / 1.728 GB, free: 8.926 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/2.839, allocations: 97.97 kB / 1.728 GB, free: 8.832 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/2.84, allocations: 313.4 kB / 1.729 GB, free: 8.535 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/2.842, allocations: 0.8065 MB / 1.729 GB, free: 7.68 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/2.842, allocations: 0.9724 MB / 1.73 GB, free: 6.68 MB / 0.6982 GB Notification: Performance of SimCode: time 4.01e-07/2.842, allocations: 4 kB / 1.73 GB, free: 6.676 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterConstantProperties_pT_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterConstantProperties_pT.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe 2>&1)