Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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 8.0.1-maint.8.0.x/package.mo): time 1.395/1.395, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009906/0.0009905, allocations: 177.3 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 0.6195 GB, free: 11.91 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008358/0.0008359, allocations: 96.73 kB / 0.7326 GB, free: 44.4 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2011/0.2019, allocations: 121.4 MB / 0.8511 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.6837, allocations: 115.3 MB / 0.9637 GB, free: 77.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.252/3.936, allocations: 2.082 GB / 3.046 GB, free: 332.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/3.936, allocations: 89.91 kB / 3.046 GB, free: 332.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 2.069/6.005, allocations: 0.7886 GB / 3.835 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/6.005, allocations: 11.75 kB / 3.835 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/6.007, allocations: 269.1 kB / 3.835 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/6.009, allocations: 0.8043 MB / 3.836 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/6.009, allocations: 17.81 kB / 3.836 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/6.009, allocations: 30 kB / 3.836 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008879/6.01, allocations: 0.562 MB / 3.836 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/6.011, allocations: 0.5164 MB / 3.837 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/6.011, allocations: 0 / 3.837 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/6.011, allocations: 0 / 3.837 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/6.011, allocations: 21.59 kB / 3.837 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/6.015, allocations: 2.91 MB / 3.84 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/6.015, allocations: 380.4 kB / 3.84 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/6.015, allocations: 265.7 kB / 3.84 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/6.016, allocations: 0.639 MB / 3.841 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/6.016, allocations: 34.83 kB / 3.841 GB, free: 163 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=39): time 1.853e-06/6.016, allocations: 0 / 3.841 GB, free: 163 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39): time 0.002065/6.018, allocations: 0.7719 MB / 3.842 GB, free: 163 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/6.018, allocations: 55.03 kB / 3.842 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/6.019, allocations: 454.1 kB / 3.842 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/6.019, allocations: 25.7 kB / 3.842 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/6.019, allocations: 256.6 kB / 3.842 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/6.019, allocations: 129.9 kB / 3.842 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/6.019, allocations: 3.281 kB / 3.842 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/6.019, allocations: 382.4 kB / 3.843 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/6.019, allocations: 190.2 kB / 3.843 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/6.02, allocations: 301.5 kB / 3.843 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/6.02, allocations: 296.3 kB / 3.844 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/6.02, allocations: 0 / 3.844 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009957/6.021, allocations: 0.6371 MB / 3.844 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/6.021, allocations: 4.531 kB / 3.844 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/6.021, allocations: 0 / 3.844 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/6.021, allocations: 9.938 kB / 3.844 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/6.022, allocations: 109.5 kB / 3.844 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/6.022, allocations: 3.875 kB / 3.844 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/6.023, allocations: 76.48 kB / 3.844 GB, free: 162 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/6.023, allocations: 22.23 kB / 3.844 GB, free: 162 MB / 0.9323 GB 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 (46): * Single equations (assignments): 46 * 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.0001047/6.023, allocations: 108.7 kB / 3.844 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/6.023, allocations: 69.16 kB / 3.845 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/6.024, allocations: 0.6811 MB / 3.845 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/6.024, allocations: 3.594 kB / 3.845 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/6.024, allocations: 0 / 3.845 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/6.024, allocations: 3.891 kB / 3.845 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/6.026, allocations: 1.482 MB / 3.847 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/6.026, allocations: 0 / 3.847 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/6.027, allocations: 97.41 kB / 3.847 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/6.027, allocations: 7.844 kB / 3.847 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/6.027, allocations: 11.66 kB / 3.847 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/6.027, allocations: 3.938 kB / 3.847 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/6.027, allocations: 10.11 kB / 3.847 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001365/6.028, allocations: 1.186 MB / 3.848 GB, free: 161 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002002/6.03, allocations: 1.992 MB / 3.85 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/6.031, allocations: 198.2 kB / 3.85 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/6.031, allocations: 3.844 kB / 3.85 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/6.031, allocations: 55.98 kB / 3.85 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/6.031, allocations: 34.3 kB / 3.85 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/6.032, allocations: 17.03 kB / 3.85 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003277/6.032, allocations: 358.9 kB / 3.851 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002283/6.034, allocations: 0.6131 MB / 3.851 GB, free: 159.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.003151/6.037, allocations: 2.36 MB / 3.853 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008639/6.038, allocations: 461.2 kB / 3.854 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/6.038, allocations: 0 / 3.854 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/6.039, allocations: 252.3 kB / 3.854 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/6.04, allocations: 370.6 kB / 3.854 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/6.046, allocations: 1.47 MB / 3.856 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008496/6.047, allocations: 1.057 MB / 3.857 GB, free: 158 MB / 0.9323 GB Notification: Performance of SimCode: time 3.6e-07/6.047, allocations: 0 / 3.857 GB, free: 158 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)