Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.7181/0.7181, allocations: 141.8 MB / 149.1 MB, free: 2.449 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 185.6 kB / 182 MB, free: 14.41 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.336/1.336, allocations: 221.3 MB / 436 MB, free: 7.355 MB / 331 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 93.89 kB / 0.507 GB, free: 24.39 MB / 395 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001733/0.001733, allocations: 280.7 kB / 0.5885 GB, free: 10.57 MB / 443 MB Notification: Performance of FrontEnd - loaded program: time 0.1775/0.1792, allocations: 89.64 MB / 0.676 GB, free: 0.8516 MB / 0.5108 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.5663, allocations: 82.76 MB / 0.7568 GB, free: 111.1 MB / 0.5264 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.402/3.969, allocations: 1.889 GB / 2.646 GB, free: 163.1 MB / 0.6983 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/3.969, allocations: 90.28 kB / 2.646 GB, free: 163.1 MB / 0.6983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 1.776/5.745, allocations: 0.6159 GB / 3.262 GB, free: 76.82 MB / 0.6983 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/5.745, allocations: 12 kB / 3.262 GB, free: 76.81 MB / 0.6983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/5.746, allocations: 198.8 kB / 3.262 GB, free: 76.62 MB / 0.6983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/5.747, allocations: 0.5426 MB / 3.263 GB, free: 76.04 MB / 0.6983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/5.748, allocations: 93.25 kB / 3.263 GB, free: 75.95 MB / 0.6983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/5.748, allocations: 36 kB / 3.263 GB, free: 75.92 MB / 0.6983 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006131/5.748, allocations: 326.5 kB / 3.263 GB, free: 75.6 MB / 0.6983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007637/5.749, allocations: 0.6461 MB / 3.264 GB, free: 74.85 MB / 0.6983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/5.749, allocations: 7.938 kB / 3.264 GB, free: 74.84 MB / 0.6983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/5.749, allocations: 4 kB / 3.264 GB, free: 74.84 MB / 0.6983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/5.749, allocations: 20.77 kB / 3.264 GB, free: 74.82 MB / 0.6983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/5.752, allocations: 4.091 MB / 3.268 GB, free: 70.52 MB / 0.6983 GB Notification: Performance of preOpt comSubExp (simulation): time 9.06e-05/5.753, allocations: 98.42 kB / 3.268 GB, free: 70.38 MB / 0.6983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/5.753, allocations: 75.53 kB / 3.268 GB, free: 70.3 MB / 0.6983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/5.753, allocations: 97.08 kB / 3.268 GB, free: 70.18 MB / 0.6983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/5.753, allocations: 42.17 kB / 3.268 GB, free: 70.14 MB / 0.6983 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/5.753, allocations: 0 / 3.268 GB, free: 70.14 MB / 0.6983 GB Notification: Performance of matching and sorting (n=10): time 0.0004813/5.753, allocations: 164.9 kB / 3.268 GB, free: 69.97 MB / 0.6983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/5.753, allocations: 140.5 kB / 3.268 GB, free: 69.8 MB / 0.6983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/5.754, allocations: 454.2 kB / 3.269 GB, free: 69.35 MB / 0.6983 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/5.754, allocations: 25.7 kB / 3.269 GB, free: 69.32 MB / 0.6983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/5.754, allocations: 354.7 kB / 3.269 GB, free: 68.96 MB / 0.6983 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/5.754, allocations: 35.53 kB / 3.269 GB, free: 68.93 MB / 0.6983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/5.754, allocations: 0 / 3.269 GB, free: 68.93 MB / 0.6983 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/5.754, allocations: 354.8 kB / 3.269 GB, free: 68.57 MB / 0.6983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/5.754, allocations: 79.97 kB / 3.269 GB, free: 68.5 MB / 0.6983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/5.755, allocations: 315.6 kB / 3.27 GB, free: 68.07 MB / 0.6983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/5.755, allocations: 139.8 kB / 3.27 GB, free: 67.94 MB / 0.6983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/5.755, allocations: 4 kB / 3.27 GB, free: 67.93 MB / 0.6983 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005588/5.755, allocations: 373.1 kB / 3.27 GB, free: 67.56 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/5.755, allocations: 4 kB / 3.27 GB, free: 67.56 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/5.755, allocations: 8 kB / 3.27 GB, free: 67.55 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/5.755, allocations: 12 kB / 3.27 GB, free: 67.54 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/5.756, allocations: 104.1 kB / 3.27 GB, free: 67.44 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/5.756, allocations: 15.88 kB / 3.27 GB, free: 67.42 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/5.757, allocations: 99.53 kB / 3.27 GB, free: 67.32 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/5.757, allocations: 24 kB / 3.27 GB, free: 67.3 MB / 0.6983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 8.275e-05/5.757, allocations: 116.8 kB / 3.271 GB, free: 67.18 MB / 0.6983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/5.757, allocations: 55.28 kB / 3.271 GB, free: 67.12 MB / 0.6983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-05/5.757, allocations: 56.03 kB / 3.271 GB, free: 67.07 MB / 0.6983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/5.757, allocations: 0 / 3.271 GB, free: 67.07 MB / 0.6983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/5.757, allocations: 8 kB / 3.271 GB, free: 67.06 MB / 0.6983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/5.757, allocations: 3.984 kB / 3.271 GB, free: 67.05 MB / 0.6983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/5.758, allocations: 1.023 MB / 3.272 GB, free: 65.95 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/5.758, allocations: 7.984 kB / 3.272 GB, free: 65.95 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/5.758, allocations: 16 kB / 3.272 GB, free: 65.93 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/5.758, allocations: 8 kB / 3.272 GB, free: 65.92 MB / 0.6983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/5.758, allocations: 4 kB / 3.272 GB, free: 65.92 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/5.758, allocations: 7.062 kB / 3.272 GB, free: 65.91 MB / 0.6983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/5.758, allocations: 4.219 kB / 3.272 GB, free: 65.91 MB / 0.6983 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002259/5.758, allocations: 343.5 kB / 3.272 GB, free: 65.47 MB / 0.6983 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006325/5.759, allocations: 0.8044 MB / 3.273 GB, free: 64.56 MB / 0.6983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/5.759, allocations: 136.5 kB / 3.273 GB, free: 64.41 MB / 0.6983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/5.759, allocations: 4 kB / 3.273 GB, free: 64.41 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/5.76, allocations: 31.91 kB / 3.273 GB, free: 64.38 MB / 0.6983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/5.76, allocations: 11.91 kB / 3.273 GB, free: 64.36 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/5.76, allocations: 8 kB / 3.273 GB, free: 64.36 MB / 0.6983 GB Notification: Performance of sort global known variables: time 0.0003331/5.76, allocations: 338.9 kB / 3.273 GB, free: 64.03 MB / 0.6983 GB Notification: Performance of remove unused functions: time 0.001925/5.762, allocations: 0.5033 MB / 3.274 GB, free: 63.52 MB / 0.6983 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.002371/5.764, allocations: 1.952 MB / 3.276 GB, free: 61.52 MB / 0.6983 GB Notification: Performance of simCode: created initialization part: time 0.0003318/5.765, allocations: 191.6 kB / 3.276 GB, free: 61.33 MB / 0.6983 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/5.765, allocations: 0 / 3.276 GB, free: 61.33 MB / 0.6983 GB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/5.765, allocations: 45.73 kB / 3.276 GB, free: 61.29 MB / 0.6983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/5.765, allocations: 180.4 kB / 3.276 GB, free: 61.11 MB / 0.6983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/5.767, allocations: 0.7054 MB / 3.277 GB, free: 60.35 MB / 0.6983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/5.767, allocations: 0.9899 MB / 3.278 GB, free: 59.34 MB / 0.6983 GB Notification: Performance of SimCode: time 2.9e-07/5.767, allocations: 0 / 3.278 GB, free: 59.34 MB / 0.6983 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)