Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.001421/0.001422, allocations: 185.5 kB / 7.806 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.4863/0.4863, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.284/1.284, allocations: 221.4 MB / 342.8 MB, free: 5.195 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.001078/0.001078, allocations: 95.14 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1729/0.174, allocations: 78.44 MB / 494 MB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.5356, allocations: 72.31 MB / 0.553 GB, free: 73.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.902/4.438, allocations: 1.883 GB / 2.436 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/4.438, allocations: 83.95 kB / 2.436 GB, free: 151.7 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 3.792/8.23, allocations: 1.114 GB / 3.55 GB, free: 86.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/8.23, allocations: 7.688 kB / 3.55 GB, free: 86.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/8.234, allocations: 0.5186 MB / 3.551 GB, free: 86.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/8.238, allocations: 1.586 MB / 3.553 GB, free: 86.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/8.238, allocations: 51.41 kB / 3.553 GB, free: 86.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/8.239, allocations: 93.38 kB / 3.553 GB, free: 86.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002181/8.241, allocations: 1.241 MB / 3.554 GB, free: 86.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/8.243, allocations: 1.505 MB / 3.555 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/8.243, allocations: 7.031 kB / 3.555 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/8.243, allocations: 5.031 kB / 3.555 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/8.243, allocations: 55.3 kB / 3.555 GB, free: 85.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008932/8.252, allocations: 7.323 MB / 3.563 GB, free: 81.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/8.253, allocations: 0.7341 MB / 3.563 GB, free: 81.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/8.254, allocations: 0.6555 MB / 3.564 GB, free: 81.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/8.254, allocations: 121.5 kB / 3.564 GB, free: 81.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/8.254, allocations: 56.73 kB / 3.564 GB, free: 81.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=106): time 3.737e-06/8.254, allocations: 0 / 3.564 GB, free: 81.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=112): time 0.006801/8.261, allocations: 3.616 MB / 3.568 GB, free: 80.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/8.261, allocations: 174.6 kB / 3.568 GB, free: 79.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/8.262, allocations: 0.7901 MB / 3.569 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.687e-05/8.262, allocations: 30.86 kB / 3.569 GB, free: 79.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/8.263, allocations: 0.5285 MB / 3.569 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/8.263, allocations: 392.8 kB / 3.569 GB, free: 79.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/8.263, allocations: 0 / 3.569 GB, free: 79.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/8.263, allocations: 351.7 kB / 3.57 GB, free: 78.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/8.264, allocations: 493.6 kB / 3.57 GB, free: 78.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/8.265, allocations: 0.8029 MB / 3.571 GB, free: 78.57 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01978/8.285, allocations: 4.167 MB / 3.575 GB, free: 78.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/8.285, allocations: 3.469 kB / 3.575 GB, free: 78.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002434/8.287, allocations: 1.432 MB / 3.577 GB, free: 78.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/8.287, allocations: 6.312 kB / 3.577 GB, free: 78.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/8.287, allocations: 7.5 kB / 3.577 GB, free: 78.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/8.287, allocations: 18.34 kB / 3.577 GB, free: 78.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/8.288, allocations: 278 kB / 3.577 GB, free: 78.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/8.288, allocations: 24.69 kB / 3.577 GB, free: 78.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/8.29, allocations: 82.7 kB / 3.577 GB, free: 78.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/8.29, allocations: 62.2 kB / 3.577 GB, free: 78.12 MB / 0.6198 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0002753/8.291, allocations: 151.7 kB / 3.577 GB, free: 78.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/8.291, allocations: 141.9 kB / 3.577 GB, free: 77.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/8.293, allocations: 1.176 MB / 3.578 GB, free: 77.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/8.293, allocations: 12.72 kB / 3.578 GB, free: 77.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/8.293, allocations: 3.422 kB / 3.578 GB, free: 77.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001226/8.294, allocations: 1.163 MB / 3.58 GB, free: 77.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/8.3, allocations: 3.506 MB / 3.583 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/8.3, allocations: 11.22 kB / 3.583 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/8.301, allocations: 243.1 kB / 3.583 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/8.301, allocations: 24.84 kB / 3.583 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.532e-05/8.301, allocations: 20.16 kB / 3.583 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/8.301, allocations: 19.33 kB / 3.583 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/8.301, allocations: 20.81 kB / 3.583 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002614/8.304, allocations: 2.574 MB / 3.586 GB, free: 75.22 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003504/8.307, allocations: 3.693 MB / 3.589 GB, free: 73.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/8.308, allocations: 329.2 kB / 3.59 GB, free: 73.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/8.308, allocations: 21.48 kB / 3.59 GB, free: 73.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/8.31, allocations: 73 kB / 3.59 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/8.31, allocations: 92.09 kB / 3.59 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/8.31, allocations: 52.98 kB / 3.59 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0008189/8.311, allocations: 0.5899 MB / 3.591 GB, free: 73.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003039/8.314, allocations: 0.7841 MB / 3.591 GB, free: 73.24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.00257/8.316, allocations: 2.322 MB / 3.594 GB, free: 72.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001892/8.318, allocations: 1.139 MB / 3.595 GB, free: 72.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/8.318, allocations: 3.75 kB / 3.595 GB, free: 72.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006924/8.319, allocations: 0.5193 MB / 3.595 GB, free: 72.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/8.322, allocations: 0.6758 MB / 3.596 GB, free: 72.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/8.328, allocations: 2.759 MB / 3.599 GB, free: 71.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/8.329, allocations: 1.553 MB / 3.6 GB, free: 70.91 MB / 0.6198 GB Notification: Performance of SimCode: time 1.844e-06/8.329, allocations: 0 / 3.6 GB, free: 70.91 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)