Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.061/2.061, allocations: 248.6 MB / 255.9 MB, free: 7.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 191.6 kB / 315.1 MB, free: 4.301 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.819/1.819, allocations: 205.1 MB / 0.5658 GB, free: 320 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 83.16 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5163/0.5177, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.7239, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.705/6.429, allocations: 2.201 GB / 3.085 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/6.43, allocations: 86.44 kB / 3.085 GB, free: 166.9 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 3.575/10, allocations: 0.7628 GB / 3.847 GB, free: 64.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/10, allocations: 8 kB / 3.847 GB, free: 64.74 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/10.01, allocations: 270.6 kB / 3.848 GB, free: 64.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/10.01, allocations: 0.8017 MB / 3.849 GB, free: 63.65 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/10.01, allocations: 19.94 kB / 3.849 GB, free: 63.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/10.01, allocations: 32 kB / 3.849 GB, free: 63.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001712/10.01, allocations: 0.5603 MB / 3.849 GB, free: 63.04 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/10.01, allocations: 0.5276 MB / 3.85 GB, free: 62.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/10.01, allocations: 0 / 3.85 GB, free: 62.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/10.01, allocations: 0 / 3.85 GB, free: 62.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/10.01, allocations: 12 kB / 3.85 GB, free: 62.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007292/10.02, allocations: 2.913 MB / 3.852 GB, free: 59.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/10.02, allocations: 380.4 kB / 3.853 GB, free: 59.01 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/10.02, allocations: 265.4 kB / 3.853 GB, free: 58.75 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/10.02, allocations: 0.6418 MB / 3.854 GB, free: 57.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/10.02, allocations: 34.89 kB / 3.854 GB, free: 57.94 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/10.02, allocations: 0 / 3.854 GB, free: 57.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.004129/10.03, allocations: 0.768 MB / 3.855 GB, free: 57.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/10.03, allocations: 59.34 kB / 3.855 GB, free: 57.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/10.03, allocations: 459.7 kB / 3.855 GB, free: 56.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.716e-05/10.03, allocations: 25.7 kB / 3.855 GB, free: 56.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/10.03, allocations: 260.4 kB / 3.855 GB, free: 56.34 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/10.03, allocations: 130 kB / 3.855 GB, free: 56.21 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/10.03, allocations: 4 kB / 3.855 GB, free: 56.21 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001191/10.03, allocations: 378.7 kB / 3.856 GB, free: 55.83 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/10.03, allocations: 184.7 kB / 3.856 GB, free: 55.65 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/10.03, allocations: 305.2 kB / 3.856 GB, free: 55.31 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/10.03, allocations: 308.9 kB / 3.857 GB, free: 55.01 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/10.03, allocations: 0 / 3.857 GB, free: 55.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001907/10.03, allocations: 0.6291 MB / 3.857 GB, free: 54.37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/10.03, allocations: 5.562 kB / 3.857 GB, free: 54.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/10.03, allocations: 4 kB / 3.857 GB, free: 54.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/10.03, allocations: 4 kB / 3.857 GB, free: 54.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/10.04, allocations: 115.9 kB / 3.857 GB, free: 54.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/10.04, allocations: 4 kB / 3.857 GB, free: 54.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/10.04, allocations: 67.69 kB / 3.857 GB, free: 54.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.474e-05/10.04, allocations: 23.98 kB / 3.857 GB, free: 54.15 MB / 0.8855 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.0001534/10.04, allocations: 112.2 kB / 3.857 GB, free: 54.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/10.04, allocations: 71.16 kB / 3.858 GB, free: 53.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/10.04, allocations: 0.6871 MB / 3.858 GB, free: 53.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/10.04, allocations: 8 kB / 3.858 GB, free: 53.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/10.04, allocations: 0 / 3.858 GB, free: 53.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/10.04, allocations: 0 / 3.858 GB, free: 53.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/10.04, allocations: 1.47 MB / 3.86 GB, free: 51.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/10.04, allocations: 4.406 kB / 3.86 GB, free: 51.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/10.04, allocations: 103.8 kB / 3.86 GB, free: 51.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/10.04, allocations: 4 kB / 3.86 GB, free: 51.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/10.04, allocations: 8 kB / 3.86 GB, free: 51.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/10.04, allocations: 4 kB / 3.86 GB, free: 51.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/10.04, allocations: 4 kB / 3.86 GB, free: 51.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002442/10.05, allocations: 1.188 MB / 3.861 GB, free: 50.27 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003606/10.05, allocations: 1.981 MB / 3.863 GB, free: 48.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/10.05, allocations: 204 kB / 3.863 GB, free: 47.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/10.05, allocations: 4 kB / 3.863 GB, free: 47.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/10.05, allocations: 47.95 kB / 3.863 GB, free: 47.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/10.05, allocations: 39.86 kB / 3.863 GB, free: 47.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/10.05, allocations: 12 kB / 3.863 GB, free: 47.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006225/10.05, allocations: 366.2 kB / 3.863 GB, free: 47.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003681/10.06, allocations: 0.6111 MB / 3.864 GB, free: 46.87 MB / 0.8855 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.003923/10.06, allocations: 2.374 MB / 3.866 GB, free: 44.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001785/10.06, allocations: 459.6 kB / 3.867 GB, free: 44.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/10.06, allocations: 0 / 3.867 GB, free: 44.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/10.06, allocations: 252.5 kB / 3.867 GB, free: 43.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/10.07, allocations: 372 kB / 3.867 GB, free: 43.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/10.08, allocations: 1.474 MB / 3.869 GB, free: 41.97 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009805/10.08, allocations: 1.05 MB / 3.87 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of SimCode: time 1.533e-06/10.08, allocations: 0 / 3.87 GB, free: 40.89 MB / 0.8855 GB