Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 189.1 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4562/0.4562, allocations: 90.85 MB / 99.07 MB, free: 14.99 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.4 MB / 342.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001015, allocations: 100.5 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1811/0.1821, allocations: 78.44 MB / 494 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.5753, allocations: 72.31 MB / 0.553 GB, free: 73.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.621/4.196, allocations: 1.87 GB / 2.423 GB, free: 192.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/4.197, allocations: 84.48 kB / 2.423 GB, free: 192.3 MB / 0.6042 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.9535/5.15, allocations: 365.3 MB / 2.779 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/5.15, allocations: 8 kB / 2.779 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/5.152, allocations: 290.7 kB / 2.78 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/5.153, allocations: 0.7182 MB / 2.78 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/5.153, allocations: 23.94 kB / 2.78 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/5.154, allocations: 39.91 kB / 2.78 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007253/5.154, allocations: 466.4 kB / 2.781 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/5.155, allocations: 487.9 kB / 2.781 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/5.155, allocations: 0 / 2.781 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/5.155, allocations: 0 / 2.781 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/5.155, allocations: 29.31 kB / 2.781 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/5.158, allocations: 2.336 MB / 2.784 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/5.158, allocations: 265 kB / 2.784 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/5.158, allocations: 204.8 kB / 2.784 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/5.158, allocations: 97.09 kB / 2.784 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/5.158, allocations: 42.56 kB / 2.784 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/5.158, allocations: 0 / 2.784 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002257/5.161, allocations: 1.192 MB / 2.785 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/5.161, allocations: 63.84 kB / 2.786 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/5.161, allocations: 390.2 kB / 2.786 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/5.161, allocations: 25.7 kB / 2.786 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/5.161, allocations: 260.2 kB / 2.786 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/5.161, allocations: 165.5 kB / 2.786 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/5.161, allocations: 0 / 2.786 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/5.161, allocations: 362.8 kB / 2.787 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/5.162, allocations: 165 kB / 2.787 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/5.162, allocations: 248 kB / 2.787 GB, free: 55.73 MB / 0.6042 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.002511/5.164, allocations: 1.041 MB / 2.788 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/5.164, allocations: 4 kB / 2.788 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006232/5.165, allocations: 498.3 kB / 2.789 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/5.165, allocations: 8.156 kB / 2.789 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/5.165, allocations: 4 kB / 2.789 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/5.165, allocations: 7.938 kB / 2.789 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/5.165, allocations: 99.83 kB / 2.789 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/5.166, allocations: 0 / 2.789 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/5.166, allocations: 35.88 kB / 2.789 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/5.166, allocations: 16 kB / 2.789 GB, free: 54 MB / 0.6042 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: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001046/5.166, allocations: 120.5 kB / 2.789 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/5.166, allocations: 59.34 kB / 2.789 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/5.167, allocations: 73.58 kB / 2.789 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/5.167, allocations: 4 kB / 2.789 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/5.167, allocations: 11.84 kB / 2.789 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004831/5.167, allocations: 494 kB / 2.789 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/5.169, allocations: 1.449 MB / 2.791 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/5.169, allocations: 4 kB / 2.791 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/5.17, allocations: 115.8 kB / 2.791 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/5.17, allocations: 8 kB / 2.791 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/5.17, allocations: 12 kB / 2.791 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/5.17, allocations: 11.94 kB / 2.791 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/5.17, allocations: 4 kB / 2.791 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008994/5.171, allocations: 1.098 MB / 2.792 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001263/5.172, allocations: 1.756 MB / 2.794 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/5.172, allocations: 192.3 kB / 2.794 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/5.172, allocations: 4 kB / 2.794 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/5.173, allocations: 31.83 kB / 2.794 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/5.173, allocations: 47.8 kB / 2.794 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/5.173, allocations: 24 kB / 2.794 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002839/5.173, allocations: 310.9 kB / 2.794 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001635/5.175, allocations: 364 kB / 2.795 GB, free: 47.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.001292/5.176, allocations: 1.198 MB / 2.796 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006225/5.177, allocations: 412.5 kB / 2.796 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/5.177, allocations: 0 / 2.796 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/5.177, allocations: 216.8 kB / 2.796 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/5.179, allocations: 399.8 kB / 2.797 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/5.181, allocations: 1.242 MB / 2.798 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/5.181, allocations: 1.057 MB / 2.799 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of SimCode: time 8.91e-07/5.181, allocations: 4 kB / 2.799 GB, free: 42.65 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)