Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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 7.0.3-maint.7.0.x/package.mo): time 1.181/1.181, allocations: 249.4 MB / 256.7 MB, free: 15.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 180.8 kB / 316 MB, free: 7.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.1 MB / 0.5667 GB, free: 23.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007564/0.0007564, allocations: 94.44 kB / 0.671 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1845/0.1852, allocations: 112.5 MB / 0.7808 GB, free: 376 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.5602, allocations: 106.3 MB / 0.8846 GB, free: 76.33 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.884/4.444, allocations: 2.2 GB / 3.084 GB, free: 309.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/4.444, allocations: 91.94 kB / 3.084 GB, free: 309.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 2.016/6.461, allocations: 0.766 GB / 3.85 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/6.461, allocations: 14 kB / 3.85 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/6.462, allocations: 276.4 kB / 3.851 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/6.464, allocations: 0.8006 MB / 3.851 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/6.464, allocations: 22.09 kB / 3.851 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.226e-05/6.464, allocations: 32.94 kB / 3.851 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008347/6.465, allocations: 0.5768 MB / 3.852 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008266/6.466, allocations: 0.5308 MB / 3.853 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/6.466, allocations: 0 / 3.853 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/6.466, allocations: 3.969 kB / 3.853 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/6.466, allocations: 10.66 kB / 3.853 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/6.469, allocations: 2.655 MB / 3.855 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/6.47, allocations: 486.6 kB / 3.856 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/6.471, allocations: 330.5 kB / 3.856 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007483/6.471, allocations: 0.6419 MB / 3.857 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/6.471, allocations: 42.34 kB / 3.857 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 3.887e-06/6.471, allocations: 0 / 3.857 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.002629/6.474, allocations: 0.9429 MB / 3.858 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/6.474, allocations: 63.02 kB / 3.858 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/6.475, allocations: 463 kB / 3.858 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/6.475, allocations: 29.67 kB / 3.858 GB, free: 153 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/6.475, allocations: 233.2 kB / 3.858 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/6.475, allocations: 161.7 kB / 3.858 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/6.475, allocations: 0 / 3.858 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/6.475, allocations: 375.7 kB / 3.859 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/6.475, allocations: 234 kB / 3.859 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/6.476, allocations: 342.7 kB / 3.859 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/6.476, allocations: 360.2 kB / 3.86 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/6.476, allocations: 0 / 3.86 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001484/6.478, allocations: 0.7986 MB / 3.86 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/6.478, allocations: 275 kB / 3.861 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/6.478, allocations: 0 / 3.861 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/6.478, allocations: 67.73 kB / 3.861 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/6.479, allocations: 98.81 kB / 3.861 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000452/6.479, allocations: 0.6447 MB / 3.862 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/6.48, allocations: 84.12 kB / 3.862 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/6.48, allocations: 25.5 kB / 3.862 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/6.48, allocations: 5.875 kB / 3.862 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00112/6.481, allocations: 0.6651 MB / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/6.481, allocations: 6.656 kB / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/6.481, allocations: 61.55 kB / 3.862 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/6.482, allocations: 104.4 kB / 3.862 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/6.483, allocations: 1.618 MB / 3.864 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/6.484, allocations: 80.94 kB / 3.864 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/6.484, allocations: 22.78 kB / 3.864 GB, free: 149.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/6.484, allocations: 113.5 kB / 3.864 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/6.484, allocations: 72.62 kB / 3.864 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/6.486, allocations: 0.8363 MB / 3.865 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/6.486, allocations: 10.45 kB / 3.865 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/6.486, allocations: 0 / 3.865 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/6.486, allocations: 3.5 kB / 3.865 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/6.488, allocations: 1.679 MB / 3.867 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/6.488, allocations: 3.188 kB / 3.867 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/6.489, allocations: 105.6 kB / 3.867 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/6.489, allocations: 48.7 kB / 3.867 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/6.489, allocations: 7.594 kB / 3.867 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002918/6.489, allocations: 0.6043 MB / 3.868 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/6.489, allocations: 11.12 kB / 3.868 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001392/6.491, allocations: 1.307 MB / 3.869 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002104/6.493, allocations: 2.118 MB / 3.871 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/6.493, allocations: 206.8 kB / 3.871 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/6.493, allocations: 15.73 kB / 3.871 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/6.494, allocations: 85.59 kB / 3.871 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/6.494, allocations: 40.59 kB / 3.871 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/6.494, allocations: 18.22 kB / 3.871 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003214/6.494, allocations: 363.8 kB / 3.872 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003283/6.498, allocations: 1.068 MB / 3.873 GB, free: 144.5 MB / 0.8698 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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/6.5, allocations: 2.375 MB / 3.875 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00155/6.502, allocations: 0.9685 MB / 3.876 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/6.502, allocations: 0 / 3.876 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004222/6.502, allocations: 284.1 kB / 3.876 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/6.505, allocations: 453.2 kB / 3.877 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/6.51, allocations: 1.537 MB / 3.878 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007849/6.511, allocations: 1.067 MB / 3.879 GB, free: 142 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/6.511, allocations: 0 / 3.879 GB, free: 142 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)