Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.7962/0.7962, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.0012/0.0012, allocations: 189.2 kB / 164.4 MB, free: 6.852 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.931/1.931, allocations: 205.1 MB / 399.1 MB, free: 6.133 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.001111/0.001111, allocations: 96 kB / 476.3 MB, free: 8.875 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3916/0.3928, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.6251, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.794/6.419, allocations: 2.15 GB / 2.771 GB, free: 173.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/6.419, allocations: 87.94 kB / 2.771 GB, free: 173 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 2.093/8.512, allocations: 0.5633 GB / 3.334 GB, free: 105 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/8.512, allocations: 13.69 kB / 3.334 GB, free: 105 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/8.515, allocations: 332 kB / 3.334 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/8.518, allocations: 0.8269 MB / 3.335 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/8.519, allocations: 113.4 kB / 3.335 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/8.519, allocations: 50.69 kB / 3.335 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002289/8.521, allocations: 0.702 MB / 3.336 GB, free: 104 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/8.524, allocations: 0.905 MB / 3.337 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/8.524, allocations: 4.406 kB / 3.337 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/8.524, allocations: 2.25 kB / 3.337 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.875e-05/8.524, allocations: 31.72 kB / 3.337 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007312/8.532, allocations: 3.854 MB / 3.341 GB, free: 99.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/8.532, allocations: 378 kB / 3.341 GB, free: 99.35 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/8.533, allocations: 193.2 kB / 3.341 GB, free: 99.15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/8.533, allocations: 192.8 kB / 3.342 GB, free: 98.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/8.533, allocations: 46.41 kB / 3.342 GB, free: 98.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.346e-06/8.533, allocations: 0 / 3.342 GB, free: 98.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.002766/8.536, allocations: 1.085 MB / 3.343 GB, free: 97.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/8.536, allocations: 59.16 kB / 3.343 GB, free: 97.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008328/8.537, allocations: 0.5623 MB / 3.343 GB, free: 97.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-05/8.537, allocations: 29.7 kB / 3.343 GB, free: 97.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/8.537, allocations: 422.2 kB / 3.344 GB, free: 96.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/8.537, allocations: 134 kB / 3.344 GB, free: 96.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/8.537, allocations: 0 / 3.344 GB, free: 96.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001244/8.537, allocations: 382.4 kB / 3.344 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/8.538, allocations: 185.2 kB / 3.344 GB, free: 95.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/8.538, allocations: 368.4 kB / 3.345 GB, free: 95.53 MB / 0.6511 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/8.54, allocations: 0.6789 MB / 3.345 GB, free: 94.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/8.54, allocations: 6.531 kB / 3.345 GB, free: 94.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001008/8.541, allocations: 0.61 MB / 3.346 GB, free: 94.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/8.541, allocations: 4 kB / 3.346 GB, free: 94.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/8.541, allocations: 8 kB / 3.346 GB, free: 94.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/8.541, allocations: 8 kB / 3.346 GB, free: 94.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/8.541, allocations: 144.7 kB / 3.346 GB, free: 94.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/8.541, allocations: 11.94 kB / 3.346 GB, free: 94.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/8.543, allocations: 95.55 kB / 3.346 GB, free: 93.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/8.543, allocations: 24 kB / 3.346 GB, free: 93.95 MB / 0.6511 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.0001943/8.543, allocations: 124 kB / 3.346 GB, free: 93.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/8.543, allocations: 82.91 kB / 3.346 GB, free: 93.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/8.543, allocations: 82.86 kB / 3.347 GB, free: 93.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/8.543, allocations: 7.938 kB / 3.347 GB, free: 93.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/8.543, allocations: 0 / 3.347 GB, free: 93.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007047/8.544, allocations: 0.644 MB / 3.347 GB, free: 92.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/8.547, allocations: 1.412 MB / 3.349 GB, free: 91.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/8.547, allocations: 4 kB / 3.349 GB, free: 91.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/8.547, allocations: 87.83 kB / 3.349 GB, free: 91.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/8.547, allocations: 8 kB / 3.349 GB, free: 91.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/8.547, allocations: 4.469 kB / 3.349 GB, free: 91.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/8.547, allocations: 12 kB / 3.349 GB, free: 91.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/8.547, allocations: 4 kB / 3.349 GB, free: 91.32 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001055/8.548, allocations: 0.9666 MB / 3.35 GB, free: 90.19 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001547/8.55, allocations: 1.605 MB / 3.351 GB, free: 88.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/8.55, allocations: 228.1 kB / 3.351 GB, free: 88.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/8.55, allocations: 4 kB / 3.351 GB, free: 88.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008298/8.551, allocations: 59.8 kB / 3.351 GB, free: 88.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/8.551, allocations: 23.97 kB / 3.351 GB, free: 88.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/8.551, allocations: 31.98 kB / 3.351 GB, free: 88.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004939/8.552, allocations: 443.1 kB / 3.352 GB, free: 87.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002557/8.554, allocations: 471.9 kB / 3.352 GB, free: 87.19 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.003078/8.557, allocations: 1.54 MB / 3.354 GB, free: 85.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007527/8.558, allocations: 427.1 kB / 3.354 GB, free: 85.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/8.558, allocations: 0 / 3.354 GB, free: 85.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/8.559, allocations: 173.9 kB / 3.354 GB, free: 85.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/8.561, allocations: 392.9 kB / 3.355 GB, free: 84.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/8.564, allocations: 1.384 MB / 3.356 GB, free: 83.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/8.565, allocations: 1.195 MB / 3.357 GB, free: 82.18 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/8.565, allocations: 3.938 kB / 3.357 GB, free: 82.17 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)