Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.7298/0.7298, allocations: 141.8 MB / 149.1 MB, free: 11.73 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 180.6 kB / 182 MB, free: 8.508 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 221.4 MB / 436.1 MB, free: 0.7734 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.001072/0.001072, allocations: 104.1 kB / 0.5071 GB, free: 9.742 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 280 kB / 0.5885 GB, free: 6.57 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1815/0.1833, allocations: 89.64 MB / 0.676 GB, free: 12.85 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.5625, allocations: 82.77 MB / 0.7568 GB, free: 137.7 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.23/3.793, allocations: 1.908 GB / 2.665 GB, free: 99.82 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/3.793, allocations: 91.31 kB / 2.665 GB, free: 99.74 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 1.548/5.341, allocations: 476.3 MB / 3.13 GB, free: 140 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/5.341, allocations: 12.03 kB / 3.13 GB, free: 140 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/5.344, allocations: 309.4 kB / 3.131 GB, free: 139.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/5.346, allocations: 0.8357 MB / 3.131 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/5.346, allocations: 21.81 kB / 3.131 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/5.346, allocations: 41.53 kB / 3.131 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001723/5.348, allocations: 0.8852 MB / 3.132 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/5.349, allocations: 0.8944 MB / 3.133 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/5.35, allocations: 0 / 3.133 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.596e-05/5.35, allocations: 0 / 3.133 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-05/5.35, allocations: 77.45 kB / 3.133 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/5.356, allocations: 3.452 MB / 3.137 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/5.358, allocations: 0.7306 MB / 3.137 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/5.358, allocations: 358.1 kB / 3.138 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/5.358, allocations: 200.2 kB / 3.138 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/5.358, allocations: 42.94 kB / 3.138 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=62): time 4.158e-06/5.358, allocations: 1.875 kB / 3.138 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=62): time 0.002141/5.361, allocations: 0.75 MB / 3.139 GB, free: 136.8 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/5.361, allocations: 110.7 kB / 3.139 GB, free: 136.7 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/5.362, allocations: 0.5499 MB / 3.139 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/5.362, allocations: 25.7 kB / 3.139 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/5.362, allocations: 313.8 kB / 3.14 GB, free: 136.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/5.362, allocations: 219 kB / 3.14 GB, free: 136 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/5.362, allocations: 0 / 3.14 GB, free: 136 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001608/5.362, allocations: 386 kB / 3.14 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/5.363, allocations: 307 kB / 3.141 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/5.363, allocations: 449.9 kB / 3.141 GB, free: 135.3 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/5.365, allocations: 0.6774 MB / 3.142 GB, free: 135.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/5.365, allocations: 0 / 3.142 GB, free: 135.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002307/5.367, allocations: 1.144 MB / 3.143 GB, free: 134.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/5.368, allocations: 0.8831 MB / 3.144 GB, free: 133.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/5.368, allocations: 3.938 kB / 3.144 GB, free: 133.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/5.368, allocations: 3.5 kB / 3.144 GB, free: 133.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/5.368, allocations: 144.3 kB / 3.144 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/5.368, allocations: 3.156 kB / 3.144 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/5.369, allocations: 77.14 kB / 3.144 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/5.37, allocations: 34.05 kB / 3.144 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/5.37, allocations: 5.094 kB / 3.144 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/5.372, allocations: 0.9513 MB / 3.145 GB, free: 133.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/5.372, allocations: 7.5 kB / 3.145 GB, free: 133.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/5.372, allocations: 3.344 kB / 3.145 GB, free: 133.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/5.372, allocations: 147 kB / 3.145 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/5.372, allocations: 15 kB / 3.145 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/5.373, allocations: 62.53 kB / 3.145 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/5.373, allocations: 33.61 kB / 3.145 GB, free: 133.5 MB / 0.6982 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 (86): * Single equations (assignments): 86 * 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 0.0001718/5.373, allocations: 115.5 kB / 3.145 GB, free: 133.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/5.374, allocations: 85.41 kB / 3.145 GB, free: 133.3 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/5.375, allocations: 0.7702 MB / 3.146 GB, free: 133.1 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/5.375, allocations: 11.84 kB / 3.146 GB, free: 133 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/5.375, allocations: 0 / 3.146 GB, free: 133 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009791/5.376, allocations: 0.729 MB / 3.147 GB, free: 132.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/5.379, allocations: 1.937 MB / 3.149 GB, free: 131.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/5.379, allocations: 3.875 kB / 3.149 GB, free: 131.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/5.38, allocations: 132.5 kB / 3.149 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/5.38, allocations: 10.97 kB / 3.149 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/5.38, allocations: 11.38 kB / 3.149 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/5.38, allocations: 3.438 kB / 3.149 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/5.38, allocations: 6.312 kB / 3.149 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001939/5.382, allocations: 1.527 MB / 3.15 GB, free: 130.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003158/5.385, allocations: 2.445 MB / 3.153 GB, free: 129.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/5.386, allocations: 244.9 kB / 3.153 GB, free: 129.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/5.386, allocations: 13.73 kB / 3.153 GB, free: 129 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/5.387, allocations: 40.56 kB / 3.153 GB, free: 129 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/5.387, allocations: 40.78 kB / 3.153 GB, free: 129 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/5.387, allocations: 21.16 kB / 3.153 GB, free: 129 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006545/5.388, allocations: 431.5 kB / 3.153 GB, free: 128.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.004694/5.392, allocations: 1.243 MB / 3.155 GB, free: 128.2 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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 Backend phase and start with SimCode phase: time 0.003843/5.396, allocations: 1.94 MB / 3.156 GB, free: 127.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002116/5.398, allocations: 1.126 MB / 3.158 GB, free: 127 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/5.398, allocations: 0 / 3.158 GB, free: 127 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004565/5.399, allocations: 361 kB / 3.158 GB, free: 126.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/5.401, allocations: 426.7 kB / 3.158 GB, free: 126.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/5.404, allocations: 1.489 MB / 3.16 GB, free: 125.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009138/5.405, allocations: 1.188 MB / 3.161 GB, free: 124 MB / 0.6982 GB Notification: Performance of SimCode: time 7.82e-07/5.405, allocations: 0 / 3.161 GB, free: 124 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)