Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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/BuildSysPro 3.5.0/package.mo): time 0.7759/0.7759, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 177.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 89.84 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3774/0.3786, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.5928, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.578/6.17, allocations: 2.146 GB / 2.767 GB, free: 66.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/6.171, allocations: 83.95 kB / 2.767 GB, free: 66.78 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 1.46/7.631, allocations: 359.7 MB / 3.118 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/7.631, allocations: 13.03 kB / 3.118 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/7.633, allocations: 282.9 kB / 3.118 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/7.635, allocations: 0.7621 MB / 3.119 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/7.635, allocations: 24.77 kB / 3.119 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/7.636, allocations: 45.66 kB / 3.119 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001092/7.637, allocations: 0.4979 MB / 3.119 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/7.638, allocations: 0.5258 MB / 3.12 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/7.638, allocations: 3.938 kB / 3.12 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/7.638, allocations: 0 / 3.12 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/7.638, allocations: 28.11 kB / 3.12 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/7.643, allocations: 2.499 MB / 3.122 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/7.643, allocations: 298 kB / 3.123 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/7.643, allocations: 199.1 kB / 3.123 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/7.644, allocations: 87.41 kB / 3.123 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/7.644, allocations: 50.03 kB / 3.123 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 4.719e-06/7.644, allocations: 0 / 3.123 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.003686/7.647, allocations: 1.141 MB / 3.124 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/7.647, allocations: 58.75 kB / 3.124 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/7.648, allocations: 409.3 kB / 3.125 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.52e-05/7.648, allocations: 25.7 kB / 3.125 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/7.649, allocations: 288 kB / 3.125 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/7.649, allocations: 157 kB / 3.125 GB, free: 133.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/7.649, allocations: 0 / 3.125 GB, free: 133.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002123/7.649, allocations: 366.1 kB / 3.125 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/7.649, allocations: 166.1 kB / 3.126 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/7.65, allocations: 242.2 kB / 3.126 GB, free: 132.8 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/7.653, allocations: 0.9954 MB / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/7.653, allocations: 0 / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008506/7.653, allocations: 493.4 kB / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/7.653, allocations: 9.688 kB / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/7.653, allocations: 7.219 kB / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/7.653, allocations: 3.188 kB / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/7.654, allocations: 104.8 kB / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/7.654, allocations: 3.094 kB / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008816/7.655, allocations: 33.73 kB / 3.127 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/7.655, allocations: 16.97 kB / 3.127 GB, free: 132.6 MB / 0.6355 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0002331/7.655, allocations: 125.7 kB / 3.127 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/7.655, allocations: 62.59 kB / 3.128 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/7.656, allocations: 68.53 kB / 3.128 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/7.656, allocations: 5.5 kB / 3.128 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/7.656, allocations: 0 / 3.128 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006084/7.656, allocations: 468.5 kB / 3.128 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/7.659, allocations: 1.406 MB / 3.129 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/7.659, allocations: 6.781 kB / 3.129 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/7.659, allocations: 112.5 kB / 3.13 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/7.659, allocations: 10.5 kB / 3.13 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/7.659, allocations: 9.75 kB / 3.13 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/7.659, allocations: 5.844 kB / 3.13 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/7.659, allocations: 7.25 kB / 3.13 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001237/7.661, allocations: 1.058 MB / 3.131 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001638/7.662, allocations: 1.702 MB / 3.132 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/7.663, allocations: 202 kB / 3.132 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/7.663, allocations: 16 kB / 3.132 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/7.664, allocations: 35.89 kB / 3.133 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/7.664, allocations: 28.03 kB / 3.133 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/7.664, allocations: 35.36 kB / 3.133 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004636/7.665, allocations: 320 kB / 3.133 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002158/7.667, allocations: 378.1 kB / 3.133 GB, free: 130.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.002086/7.669, allocations: 1.225 MB / 3.134 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000799/7.67, allocations: 399.1 kB / 3.135 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/7.67, allocations: 2.625 kB / 3.135 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/7.67, allocations: 209.9 kB / 3.135 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/7.672, allocations: 395.8 kB / 3.135 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/7.675, allocations: 1.245 MB / 3.137 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008486/7.676, allocations: 1.071 MB / 3.138 GB, free: 128.7 MB / 0.6355 GB Notification: Performance of SimCode: time 9.51e-07/7.676, allocations: 2.094 kB / 3.138 GB, free: 128.7 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)