Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.27/2.27, allocations: 253.1 MB / 260.4 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002211/0.002211, allocations: 185.2 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001385/0.001384, allocations: 90.33 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.262e-05/1.279e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2177, allocations: 106.2 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.566/1.784, allocations: 462.4 MB / 1.34 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.784, allocations: 93.42 kB / 1.34 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.306/6.09, allocations: 0.9171 GB / 2.257 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008601/6.091, allocations: 133.2 kB / 2.257 GB, free: 5.645 MB / 0.8855 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.02597/6.117, allocations: 4.714 MB / 2.262 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/6.117, allocations: 8.031 kB / 2.262 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/6.123, allocations: 0.5911 MB / 2.262 GB, free: 304 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4413/6.564, allocations: 4.031 MB / 2.266 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/6.565, allocations: 122.7 kB / 2.266 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/6.567, allocations: 231.1 kB / 2.266 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0165/6.583, allocations: 5.09 MB / 2.271 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/6.603, allocations: 5.47 MB / 2.277 GB, free: 155 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/6.603, allocations: 12.94 kB / 2.277 GB, free: 155 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008434/6.604, allocations: 9.625 kB / 2.277 GB, free: 155 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005222/6.604, allocations: 408.6 kB / 2.277 GB, free: 155 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05798/6.662, allocations: 24.99 MB / 2.302 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/6.678, allocations: 3.97 MB / 2.305 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007909/6.686, allocations: 2.297 MB / 2.308 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04956/6.736, allocations: 12.36 MB / 2.32 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007607/6.743, allocations: 2.086 MB / 2.322 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=310): time 1.046e-05/6.743, allocations: 0 / 2.322 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=334): time 0.163/6.907, allocations: 18.67 MB / 2.34 GB, free: 135 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/6.907, allocations: 115.3 kB / 2.34 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005708/6.912, allocations: 2.221 MB / 2.342 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001268/6.914, allocations: 32.02 kB / 2.342 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/6.916, allocations: 1.523 MB / 2.344 GB, free: 134 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00232/6.918, allocations: 1.111 MB / 2.345 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005588/6.919, allocations: 0 / 2.345 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003186/6.919, allocations: 477.2 kB / 2.345 GB, free: 133 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005408/6.924, allocations: 1.885 MB / 2.347 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006878/6.931, allocations: 2.901 MB / 2.35 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04784/6.979, allocations: 5.288 MB / 2.355 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.634e-05/6.979, allocations: 9.844 kB / 2.355 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.06003/7.039, allocations: 8.098 MB / 2.363 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002831/7.042, allocations: 11.92 MB / 2.375 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/7.042, allocations: 27.44 kB / 2.375 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/7.042, allocations: 53.06 kB / 2.375 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07275/7.115, allocations: 3.858 MB / 2.379 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02261/7.138, allocations: 5.506 MB / 2.384 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008974/7.147, allocations: 296.9 kB / 2.384 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/7.149, allocations: 204.4 kB / 2.384 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/7.149, allocations: 6.125 kB / 2.384 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03786/7.187, allocations: 6.139 MB / 2.39 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-05/7.187, allocations: 37.28 kB / 2.39 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.419e-05/7.187, allocations: 52.09 kB / 2.391 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/7.2, allocations: 1.332 MB / 2.392 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001017/7.2, allocations: 73.97 kB / 2.392 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008259/7.208, allocations: 288.5 kB / 2.392 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/7.21, allocations: 200.5 kB / 2.392 GB, free: 115.6 MB / 0.8855 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.001672/7.212, allocations: 218.1 kB / 2.393 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/7.213, allocations: 370.1 kB / 2.393 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05993/7.273, allocations: 8.222 MB / 2.401 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-05/7.273, allocations: 44.48 kB / 2.401 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/7.273, allocations: 0 / 2.401 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05393/7.327, allocations: 6.978 MB / 2.408 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08644/7.414, allocations: 17.52 MB / 2.425 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/7.414, allocations: 15.38 kB / 2.425 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.06844/7.482, allocations: 3.485 MB / 2.428 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.872e-05/7.482, allocations: 29.72 kB / 2.428 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/7.483, allocations: 70.2 kB / 2.428 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/7.505, allocations: 5.371 MB / 2.434 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.521e-05/7.505, allocations: 23.97 kB / 2.434 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06164/7.567, allocations: 12.47 MB / 2.446 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004154/7.571, allocations: 0.9092 MB / 2.447 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001578/7.572, allocations: 37.48 kB / 2.447 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007012/7.579, allocations: 202.5 kB / 2.447 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001585/7.581, allocations: 252.3 kB / 2.447 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007505/7.582, allocations: 162.3 kB / 2.447 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.004366/7.586, allocations: 1.614 MB / 2.449 GB, free: 106 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01439/7.601, allocations: 2.395 MB / 2.451 GB, free: 106 MB / 0.8855 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.00554/7.606, allocations: 1.763 MB / 2.453 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.1213/7.728, allocations: 11.28 MB / 2.464 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.858e-05/7.728, allocations: 4.594 kB / 2.464 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.1055/7.833, allocations: 6.262 MB / 2.47 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01336/7.847, allocations: 1.27 MB / 2.471 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/7.877, allocations: 9.027 MB / 2.48 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008473/7.886, allocations: 3.603 MB / 2.484 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.393e-06/7.886, allocations: 2.812 kB / 2.484 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.2547/8.141, allocations: 100.4 MB / 2.582 GB, free: 64.83 MB / 0.8855 GB