Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.271/2.271, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002258/0.002258, allocations: 189.2 kB / 360.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001362/0.001361, allocations: 82.42 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.225e-05, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.665, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.756, allocations: 469 MB / 1.421 GB, free: 93.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/1.756, allocations: 94.78 kB / 1.421 GB, free: 93.65 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.959/6.716, allocations: 0.9359 GB / 2.357 GB, free: 88.08 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0008669/6.717, allocations: 142.7 kB / 2.357 GB, free: 88.06 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.03001/6.747, allocations: 4.707 MB / 2.362 GB, free: 86.56 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/6.747, allocations: 12.89 kB / 2.362 GB, free: 86.56 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005771/6.753, allocations: 0.5829 MB / 2.362 GB, free: 86.29 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02014/6.773, allocations: 4.07 MB / 2.366 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/6.773, allocations: 116.9 kB / 2.366 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/6.776, allocations: 241.4 kB / 2.366 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01725/6.793, allocations: 5.088 MB / 2.371 GB, free: 85.73 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/6.816, allocations: 5.522 MB / 2.377 GB, free: 84.93 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002708/6.816, allocations: 24.64 kB / 2.377 GB, free: 84.93 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002232/6.818, allocations: 11.16 kB / 2.377 GB, free: 84.93 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000592/6.819, allocations: 404.9 kB / 2.377 GB, free: 84.92 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06125/6.88, allocations: 25.03 MB / 2.402 GB, free: 71.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/6.892, allocations: 3.957 MB / 2.406 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006394/6.899, allocations: 2.295 MB / 2.408 GB, free: 71.43 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0395/6.938, allocations: 12.42 MB / 2.42 GB, free: 65.98 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006516/6.945, allocations: 2.139 MB / 2.422 GB, free: 65.88 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=310): time 8.195e-06/6.945, allocations: 0 / 2.422 GB, free: 65.88 MB / 0.9792 GB Notification: Performance of matching and sorting (n=334): time 0.1694/7.114, allocations: 18.68 MB / 2.44 GB, free: 64.54 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/7.115, allocations: 115.1 kB / 2.44 GB, free: 64.44 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007404/7.122, allocations: 2.217 MB / 2.443 GB, free: 64.17 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001324/7.123, allocations: 33.27 kB / 2.443 GB, free: 64.14 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/7.125, allocations: 1.517 MB / 2.444 GB, free: 63.27 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00225/7.128, allocations: 1.118 MB / 2.445 GB, free: 62.54 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005242/7.128, allocations: 0 / 2.445 GB, free: 62.54 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003325/7.129, allocations: 469.9 kB / 2.446 GB, free: 62.23 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005561/7.134, allocations: 1.887 MB / 2.447 GB, free: 62.21 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006977/7.141, allocations: 2.909 MB / 2.45 GB, free: 61.11 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04892/7.19, allocations: 5.288 MB / 2.455 GB, free: 61.06 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.307e-05/7.19, allocations: 10.94 kB / 2.455 GB, free: 61.06 MB / 0.9792 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.06374/7.254, allocations: 8.096 MB / 2.463 GB, free: 60.76 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003067/7.257, allocations: 11.92 MB / 2.475 GB, free: 48.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/7.257, allocations: 25.5 kB / 2.475 GB, free: 48.45 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/7.257, allocations: 54.25 kB / 2.475 GB, free: 48.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07366/7.331, allocations: 3.858 MB / 2.479 GB, free: 48.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/7.354, allocations: 5.507 MB / 2.484 GB, free: 44.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008979/7.363, allocations: 296 kB / 2.484 GB, free: 44.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001711/7.365, allocations: 203.9 kB / 2.485 GB, free: 44.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/7.365, allocations: 6.938 kB / 2.485 GB, free: 44.91 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03832/7.403, allocations: 6.142 MB / 2.491 GB, free: 44.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.948e-05/7.404, allocations: 27.66 kB / 2.491 GB, free: 44.83 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.442e-05/7.404, allocations: 51.97 kB / 2.491 GB, free: 44.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01331/7.417, allocations: 1.342 MB / 2.492 GB, free: 44.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001035/7.417, allocations: 66.77 kB / 2.492 GB, free: 44.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008408/7.426, allocations: 297 kB / 2.492 GB, free: 44.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/7.427, allocations: 193 kB / 2.493 GB, free: 44.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001674/7.429, allocations: 215.9 kB / 2.493 GB, free: 44.68 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/7.43, allocations: 375.4 kB / 2.493 GB, free: 44.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06221/7.492, allocations: 8.22 MB / 2.501 GB, free: 44.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.696e-05/7.493, allocations: 44.23 kB / 2.501 GB, free: 44.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/7.493, allocations: 2.734 kB / 2.501 GB, free: 44.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0554/7.548, allocations: 6.974 MB / 2.508 GB, free: 43.97 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1148/7.663, allocations: 17.56 MB / 2.525 GB, free: 42.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001252/7.663, allocations: 18.95 kB / 2.525 GB, free: 42.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.08705/7.75, allocations: 3.489 MB / 2.529 GB, free: 42.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.738e-05/7.75, allocations: 29.16 kB / 2.529 GB, free: 42.41 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/7.751, allocations: 65.92 kB / 2.529 GB, free: 42.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/7.774, allocations: 5.371 MB / 2.534 GB, free: 38.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-05/7.774, allocations: 26.16 kB / 2.534 GB, free: 38.9 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06443/7.838, allocations: 12.47 MB / 2.546 GB, free: 35.76 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005062/7.843, allocations: 0.9373 MB / 2.547 GB, free: 35.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002362/7.846, allocations: 37.44 kB / 2.547 GB, free: 35.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007458/7.853, allocations: 200.8 kB / 2.547 GB, free: 35.45 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/7.855, allocations: 255.4 kB / 2.548 GB, free: 35.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001155/7.856, allocations: 171.8 kB / 2.548 GB, free: 35.43 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.005654/7.862, allocations: 1.613 MB / 2.549 GB, free: 35.29 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01585/7.877, allocations: 2.401 MB / 2.552 GB, free: 35.11 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006572/7.884, allocations: 1.766 MB / 2.553 GB, free: 34.71 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.1253/8.009, allocations: 11.29 MB / 2.564 GB, free: 34.63 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.365e-05/8.01, allocations: 4.906 kB / 2.564 GB, free: 34.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.1082/8.118, allocations: 6.254 MB / 2.571 GB, free: 34.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01422/8.132, allocations: 1.273 MB / 2.572 GB, free: 34.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03988/8.172, allocations: 9.037 MB / 2.581 GB, free: 32.47 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01174/8.184, allocations: 3.596 MB / 2.584 GB, free: 31.6 MB / 0.9792 GB Notification: Performance of SimCode: time 1.713e-06/8.184, allocations: 0 / 2.584 GB, free: 31.6 MB / 0.9792 GB Notification: Performance of Templates: time 0.29/8.474, allocations: 101.2 MB / 2.683 GB, free: 0.5781 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)