Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") [: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.7579/0.7579, allocations: 141.8 MB / 149.1 MB, free: 13.21 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 185.7 kB / 182 MB, free: 9.898 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.408/1.408, allocations: 221.4 MB / 436 MB, free: 2.309 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.0009512/0.0009512, allocations: 98.77 kB / 0.507 GB, free: 11.09 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 279 kB / 0.5884 GB, free: 7.926 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.947e-06, allocations: 1.625 kB / 0.6759 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1805, allocations: 82.78 MB / 0.7567 GB, free: 119.4 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.085/4.265, allocations: 1.887 GB / 2.644 GB, free: 129.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/4.266, allocations: 91.94 kB / 2.644 GB, free: 129.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.857/7.123, allocations: 0.8012 GB / 3.445 GB, free: 102.7 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001809/7.123, allocations: 24.64 kB / 3.445 GB, free: 102.7 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.004447/7.127, allocations: 1.23 MB / 3.447 GB, free: 101.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/7.127, allocations: 8.969 kB / 3.447 GB, free: 101.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/7.13, allocations: 273.5 kB / 3.447 GB, free: 101.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/7.133, allocations: 0.8039 MB / 3.448 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/7.133, allocations: 19.47 kB / 3.448 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/7.133, allocations: 34.22 kB / 3.448 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/7.134, allocations: 0.5759 MB / 3.448 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009661/7.135, allocations: 0.5341 MB / 3.449 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/7.135, allocations: 0 / 3.449 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/7.135, allocations: 0 / 3.449 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/7.135, allocations: 15.98 kB / 3.449 GB, free: 100 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/7.14, allocations: 2.631 MB / 3.451 GB, free: 97.25 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/7.141, allocations: 489.2 kB / 3.452 GB, free: 96.77 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/7.141, allocations: 329.5 kB / 3.452 GB, free: 96.45 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009143/7.142, allocations: 0.6395 MB / 3.453 GB, free: 95.68 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/7.142, allocations: 38.41 kB / 3.453 GB, free: 95.64 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=45): time 3.076e-06/7.142, allocations: 0 / 3.453 GB, free: 95.64 MB / 0.6982 GB Notification: Performance of matching and sorting (n=45): time 0.003131/7.145, allocations: 0.9606 MB / 3.454 GB, free: 94.69 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/7.145, allocations: 65.47 kB / 3.454 GB, free: 94.62 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/7.146, allocations: 463.7 kB / 3.454 GB, free: 94.16 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.803e-05/7.146, allocations: 25.7 kB / 3.454 GB, free: 94.13 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/7.146, allocations: 240.8 kB / 3.455 GB, free: 93.89 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/7.147, allocations: 145.7 kB / 3.455 GB, free: 93.74 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/7.147, allocations: 0 / 3.455 GB, free: 93.74 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001277/7.147, allocations: 378.7 kB / 3.455 GB, free: 93.36 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/7.147, allocations: 235.6 kB / 3.455 GB, free: 93.14 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/7.148, allocations: 346.5 kB / 3.456 GB, free: 92.76 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/7.148, allocations: 361.2 kB / 3.456 GB, free: 92.41 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/7.148, allocations: 2.719 kB / 3.456 GB, free: 92.41 MB / 0.6982 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001586/7.15, allocations: 0.7939 MB / 3.457 GB, free: 91.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/7.15, allocations: 275.1 kB / 3.457 GB, free: 91.32 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/7.15, allocations: 2.688 kB / 3.457 GB, free: 91.32 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/7.15, allocations: 56.83 kB / 3.457 GB, free: 91.26 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/7.151, allocations: 98.86 kB / 3.457 GB, free: 91.16 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005967/7.151, allocations: 0.6492 MB / 3.458 GB, free: 90.49 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/7.153, allocations: 74.78 kB / 3.458 GB, free: 90.43 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/7.153, allocations: 34.61 kB / 3.458 GB, free: 90.39 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/7.153, allocations: 4 kB / 3.458 GB, free: 90.39 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001287/7.154, allocations: 0.6617 MB / 3.458 GB, free: 89.73 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/7.154, allocations: 4.062 kB / 3.458 GB, free: 89.73 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/7.154, allocations: 60.81 kB / 3.459 GB, free: 89.66 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/7.155, allocations: 103.7 kB / 3.459 GB, free: 89.57 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/7.156, allocations: 1.625 MB / 3.46 GB, free: 87.84 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/7.157, allocations: 79.27 kB / 3.46 GB, free: 87.77 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/7.157, allocations: 31.33 kB / 3.46 GB, free: 87.74 MB / 0.6982 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.0002015/7.158, allocations: 112.9 kB / 3.46 GB, free: 87.62 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/7.158, allocations: 71.16 kB / 3.461 GB, free: 87.55 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/7.159, allocations: 0.838 MB / 3.461 GB, free: 86.71 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/7.159, allocations: 7.938 kB / 3.461 GB, free: 86.7 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/7.159, allocations: 4 kB / 3.461 GB, free: 86.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/7.16, allocations: 3.281 kB / 3.461 GB, free: 86.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/7.162, allocations: 1.686 MB / 3.463 GB, free: 84.95 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/7.163, allocations: 4 kB / 3.463 GB, free: 84.95 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/7.163, allocations: 91.81 kB / 3.463 GB, free: 84.86 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/7.163, allocations: 56.16 kB / 3.463 GB, free: 84.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/7.163, allocations: 4 kB / 3.463 GB, free: 84.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003361/7.164, allocations: 0.6137 MB / 3.464 GB, free: 84.16 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/7.164, allocations: 4 kB / 3.464 GB, free: 84.16 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001681/7.165, allocations: 1.31 MB / 3.465 GB, free: 82.72 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004698/7.166, allocations: 208 kB / 3.465 GB, free: 82.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/7.166, allocations: 4 kB / 3.465 GB, free: 82.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009008/7.167, allocations: 91.84 kB / 3.465 GB, free: 82.41 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/7.167, allocations: 29.64 kB / 3.465 GB, free: 82.39 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/7.167, allocations: 27.89 kB / 3.465 GB, free: 82.36 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004437/7.167, allocations: 359.2 kB / 3.466 GB, free: 82.01 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002045/7.17, allocations: 0.5198 MB / 3.466 GB, free: 81.49 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 (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.003312/7.173, allocations: 2.392 MB / 3.469 GB, free: 79.52 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001716/7.175, allocations: 0.962 MB / 3.469 GB, free: 78.55 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/7.175, allocations: 6.781 kB / 3.469 GB, free: 78.54 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/7.175, allocations: 286.7 kB / 3.47 GB, free: 78.27 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/7.178, allocations: 447 kB / 3.47 GB, free: 77.86 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/7.183, allocations: 1.545 MB / 3.472 GB, free: 76.34 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008164/7.184, allocations: 1.056 MB / 3.473 GB, free: 75.25 MB / 0.6982 GB Notification: Performance of SimCode: time 1.122e-06/7.184, allocations: 0 / 3.473 GB, free: 75.25 MB / 0.6982 GB Notification: Performance of Templates: time 0.04444/7.229, allocations: 30.26 MB / 3.502 GB, free: 45.55 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)