Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") [: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.7594/0.7594, allocations: 141.8 MB / 149.1 MB, free: 2.465 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.001088/0.001089, allocations: 174.5 kB / 182 MB, free: 14.42 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.412/1.412, allocations: 221.3 MB / 436 MB, free: 7.387 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 95.22 kB / 0.507 GB, free: 24.44 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 285.2 kB / 0.5885 GB, free: 10.63 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/8.996e-06, allocations: 4 kB / 0.6759 GB, free: 0.9883 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.4997, allocations: 82.75 MB / 0.7567 GB, free: 111.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.006/4.506, allocations: 1.888 GB / 2.645 GB, free: 163.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/4.506, allocations: 92.53 kB / 2.645 GB, free: 163.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.853/7.359, allocations: 0.7979 GB / 3.443 GB, free: 111.4 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 6.917e-05/7.359, allocations: 28.3 kB / 3.443 GB, free: 111.4 MB / 0.6982 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 0.002699/7.362, allocations: 1.19 MB / 3.444 GB, free: 110.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/7.362, allocations: 9.625 kB / 3.444 GB, free: 110.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/7.364, allocations: 272.7 kB / 3.444 GB, free: 110.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/7.366, allocations: 0.8046 MB / 3.445 GB, free: 110.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/7.366, allocations: 15.69 kB / 3.445 GB, free: 110.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/7.366, allocations: 36.97 kB / 3.445 GB, free: 110.5 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008689/7.367, allocations: 0.5592 MB / 3.446 GB, free: 110.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/7.368, allocations: 0.5199 MB / 3.446 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/7.368, allocations: 0 / 3.446 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/7.368, allocations: 0 / 3.446 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/7.368, allocations: 11.19 kB / 3.446 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/7.371, allocations: 2.904 MB / 3.449 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/7.372, allocations: 374.5 kB / 3.449 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/7.372, allocations: 267 kB / 3.45 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007339/7.373, allocations: 0.6387 MB / 3.45 GB, free: 108.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/7.373, allocations: 40.67 kB / 3.45 GB, free: 108.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/7.373, allocations: 0 / 3.45 GB, free: 108.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=39): time 0.002111/7.375, allocations: 0.7644 MB / 3.451 GB, free: 108.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/7.375, allocations: 54.97 kB / 3.451 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/7.376, allocations: 463.8 kB / 3.451 GB, free: 108.1 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/7.376, allocations: 25.7 kB / 3.452 GB, free: 108.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/7.376, allocations: 254.5 kB / 3.452 GB, free: 108 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/7.376, allocations: 133.8 kB / 3.452 GB, free: 107.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/7.376, allocations: 0 / 3.452 GB, free: 107.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001047/7.376, allocations: 375.1 kB / 3.452 GB, free: 107.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/7.376, allocations: 188.5 kB / 3.452 GB, free: 107.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/7.377, allocations: 300.9 kB / 3.453 GB, free: 107.5 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/7.377, allocations: 309 kB / 3.453 GB, free: 107.5 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/7.377, allocations: 0 / 3.453 GB, free: 107.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001009/7.378, allocations: 0.6303 MB / 3.454 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/7.378, allocations: 3.312 kB / 3.454 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/7.378, allocations: 1.562 kB / 3.454 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/7.378, allocations: 6.938 kB / 3.454 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/7.379, allocations: 109.3 kB / 3.454 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/7.379, allocations: 7.438 kB / 3.454 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/7.38, allocations: 75.23 kB / 3.454 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/7.38, allocations: 28.3 kB / 3.454 GB, free: 107.4 MB / 0.6982 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.0001061/7.38, allocations: 107.9 kB / 3.454 GB, free: 107.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/7.38, allocations: 71.5 kB / 3.454 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/7.381, allocations: 0.675 MB / 3.455 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/7.381, allocations: 7.812 kB / 3.455 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/7.381, allocations: 0 / 3.455 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/7.381, allocations: 9.875 kB / 3.455 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/7.384, allocations: 1.476 MB / 3.456 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/7.384, allocations: 7.25 kB / 3.456 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/7.384, allocations: 87.61 kB / 3.456 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/7.384, allocations: 6.781 kB / 3.456 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/7.384, allocations: 9.562 kB / 3.456 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/7.384, allocations: 11.83 kB / 3.456 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/7.384, allocations: 6.031 kB / 3.456 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001355/7.385, allocations: 1.198 MB / 3.457 GB, free: 106.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/7.386, allocations: 190.1 kB / 3.458 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/7.386, allocations: 7 kB / 3.458 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/7.386, allocations: 54.95 kB / 3.458 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/7.387, allocations: 29.7 kB / 3.458 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/7.387, allocations: 22.22 kB / 3.458 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003488/7.387, allocations: 358.4 kB / 3.458 GB, free: 106.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001196/7.388, allocations: 358 kB / 3.458 GB, free: 106 MB / 0.6982 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.002997/7.391, allocations: 2.377 MB / 3.461 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007306/7.392, allocations: 458.8 kB / 3.461 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/7.392, allocations: 6.188 kB / 3.461 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003372/7.392, allocations: 248.1 kB / 3.461 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/7.394, allocations: 388.4 kB / 3.462 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/7.4, allocations: 1.48 MB / 3.463 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/7.4, allocations: 1.054 MB / 3.464 GB, free: 104.2 MB / 0.6982 GB Notification: Performance of SimCode: time 2.044e-06/7.4, allocations: 0 / 3.464 GB, free: 104.2 MB / 0.6982 GB Notification: Performance of Templates: time 0.04243/7.443, allocations: 24.18 MB / 3.488 GB, free: 96.73 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)