Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.043/2.043, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 185.2 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009128, allocations: 93.67 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6264/0.6274, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.8904, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.612/5.502, allocations: 1.929 GB / 3.134 GB, free: 378.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/5.502, allocations: 87.95 kB / 3.134 GB, free: 378.4 MB / 1.151 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.915/7.417, allocations: 0.6154 GB / 3.75 GB, free: 194.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/7.417, allocations: 13 kB / 3.75 GB, free: 194.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/7.418, allocations: 194.8 kB / 3.75 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/7.42, allocations: 0.5441 MB / 3.75 GB, free: 193.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/7.42, allocations: 101.2 kB / 3.75 GB, free: 193.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/7.42, allocations: 36 kB / 3.75 GB, free: 193.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007046/7.421, allocations: 322.5 kB / 3.751 GB, free: 193.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009674/7.422, allocations: 0.6446 MB / 3.751 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/7.422, allocations: 4 kB / 3.751 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/7.422, allocations: 0 / 3.751 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/7.422, allocations: 28.77 kB / 3.751 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/7.426, allocations: 4.124 MB / 3.755 GB, free: 188 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 9.922e-05/7.426, allocations: 102.5 kB / 3.756 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/7.426, allocations: 67.42 kB / 3.756 GB, free: 187.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/7.426, allocations: 97.09 kB / 3.756 GB, free: 187.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/7.426, allocations: 42.5 kB / 3.756 GB, free: 187.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/7.426, allocations: 0 / 3.756 GB, free: 187.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0005664/7.427, allocations: 165 kB / 3.756 GB, free: 187.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/7.427, allocations: 132.5 kB / 3.756 GB, free: 187.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/7.427, allocations: 458.2 kB / 3.756 GB, free: 186.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/7.427, allocations: 29.7 kB / 3.756 GB, free: 186.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/7.428, allocations: 354.8 kB / 3.757 GB, free: 186.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/7.428, allocations: 35.45 kB / 3.757 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/7.428, allocations: 4 kB / 3.757 GB, free: 186.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/7.428, allocations: 354.8 kB / 3.757 GB, free: 186.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/7.428, allocations: 75.97 kB / 3.757 GB, free: 186 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/7.428, allocations: 315.7 kB / 3.758 GB, free: 185.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/7.428, allocations: 139.8 kB / 3.758 GB, free: 185.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/7.428, allocations: 4 kB / 3.758 GB, free: 185.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006406/7.429, allocations: 373 kB / 3.758 GB, free: 185.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/7.429, allocations: 8 kB / 3.758 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/7.429, allocations: 10.84 kB / 3.758 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/7.429, allocations: 11.94 kB / 3.758 GB, free: 185 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/7.429, allocations: 100.1 kB / 3.758 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/7.429, allocations: 15.94 kB / 3.758 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/7.43, allocations: 95.53 kB / 3.758 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/7.43, allocations: 27.98 kB / 3.758 GB, free: 184.8 MB / 1.151 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.855e-05/7.43, allocations: 124.7 kB / 3.758 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/7.43, allocations: 51.34 kB / 3.758 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.448e-05/7.431, allocations: 48.03 kB / 3.759 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/7.431, allocations: 4 kB / 3.759 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/7.431, allocations: 4 kB / 3.759 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/7.431, allocations: 0 / 3.759 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/7.432, allocations: 1.039 MB / 3.76 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/7.432, allocations: 4 kB / 3.76 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/7.432, allocations: 19.98 kB / 3.76 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/7.432, allocations: 4 kB / 3.76 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/7.432, allocations: 0 / 3.76 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/7.432, allocations: 4 kB / 3.76 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/7.432, allocations: 7.938 kB / 3.76 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002562/7.432, allocations: 351.7 kB / 3.76 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006337/7.433, allocations: 0.7951 MB / 3.761 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/7.433, allocations: 144.4 kB / 3.761 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/7.433, allocations: 4 kB / 3.761 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/7.433, allocations: 23.98 kB / 3.761 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/7.433, allocations: 11.89 kB / 3.761 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/7.433, allocations: 11.94 kB / 3.761 GB, free: 181.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003441/7.434, allocations: 344.5 kB / 3.761 GB, free: 181.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002035/7.436, allocations: 0.5033 MB / 3.762 GB, free: 181 MB / 1.151 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.002726/7.438, allocations: 1.958 MB / 3.764 GB, free: 179 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003884/7.439, allocations: 189.1 kB / 3.764 GB, free: 178.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/7.439, allocations: 0 / 3.764 GB, free: 178.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/7.439, allocations: 51.84 kB / 3.764 GB, free: 178.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/7.44, allocations: 177.1 kB / 3.764 GB, free: 178.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/7.441, allocations: 0.7074 MB / 3.765 GB, free: 177.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/7.442, allocations: 0.9921 MB / 3.766 GB, free: 176.8 MB / 1.151 GB Notification: Performance of SimCode: time 3.6e-07/7.442, allocations: 0 / 3.766 GB, free: 176.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)