Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",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 8.0.0/package.mo): time 2.321/2.321, allocations: 284.8 MB / 292.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001702/0.001702, allocations: 177.2 kB / 360.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.1 MB / 0.6187 GB, free: 13.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001279, allocations: 93.94 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.296/0.2974, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.9575, allocations: 115.2 MB / 0.9627 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/2.062, allocations: 469 MB / 1.421 GB, free: 98.16 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/2.062, allocations: 97.61 kB / 1.421 GB, free: 98.11 MB / 0.8542 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 5.218/7.28, allocations: 0.9407 GB / 2.362 GB, free: 87.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/7.28, allocations: 7.594 kB / 2.362 GB, free: 87.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007024/7.287, allocations: 0.5853 MB / 2.362 GB, free: 87.67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02066/7.308, allocations: 4.067 MB / 2.366 GB, free: 87.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/7.308, allocations: 118.9 kB / 2.366 GB, free: 87.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0023/7.311, allocations: 237.9 kB / 2.366 GB, free: 87.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01759/7.328, allocations: 5.089 MB / 2.371 GB, free: 87.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/7.349, allocations: 5.526 MB / 2.377 GB, free: 86.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003609/7.35, allocations: 13.5 kB / 2.377 GB, free: 86.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002353/7.352, allocations: 11.72 kB / 2.377 GB, free: 86.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006688/7.353, allocations: 413.8 kB / 2.377 GB, free: 86.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06247/7.415, allocations: 25.03 MB / 2.402 GB, free: 72.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/7.427, allocations: 3.963 MB / 2.406 GB, free: 72.76 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01041/7.438, allocations: 2.303 MB / 2.408 GB, free: 72.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04232/7.48, allocations: 12.42 MB / 2.42 GB, free: 67.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006935/7.487, allocations: 2.134 MB / 2.422 GB, free: 67.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=310): time 1.55e-05/7.487, allocations: 3.062 kB / 2.422 GB, free: 67.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=334): time 0.1948/7.682, allocations: 18.67 MB / 2.44 GB, free: 65.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/7.682, allocations: 114.9 kB / 2.44 GB, free: 65.74 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006784/7.689, allocations: 2.219 MB / 2.443 GB, free: 65.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00146/7.691, allocations: 33.05 kB / 2.443 GB, free: 65.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001971/7.693, allocations: 1.509 MB / 2.444 GB, free: 64.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002371/7.695, allocations: 1.116 MB / 2.445 GB, free: 63.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005625/7.696, allocations: 0 / 2.445 GB, free: 63.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003496/7.696, allocations: 477.1 kB / 2.446 GB, free: 63.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006287/7.702, allocations: 1.885 MB / 2.447 GB, free: 63.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007422/7.71, allocations: 2.902 MB / 2.45 GB, free: 62.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04959/7.759, allocations: 5.291 MB / 2.455 GB, free: 62.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.014e-05/7.76, allocations: 7.062 kB / 2.455 GB, free: 62.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.06687/7.826, allocations: 8.101 MB / 2.463 GB, free: 62.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002951/7.829, allocations: 11.92 MB / 2.475 GB, free: 49.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/7.83, allocations: 27.91 kB / 2.475 GB, free: 49.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001114/7.83, allocations: 54.23 kB / 2.475 GB, free: 49.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08223/7.912, allocations: 3.86 MB / 2.479 GB, free: 49.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02761/7.94, allocations: 5.51 MB / 2.484 GB, free: 46.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/7.951, allocations: 300.7 kB / 2.485 GB, free: 46.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002447/7.954, allocations: 202.4 kB / 2.485 GB, free: 46.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/7.954, allocations: 3.812 kB / 2.485 GB, free: 46.22 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06072/8.015, allocations: 6.141 MB / 2.491 GB, free: 46.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/8.015, allocations: 25.53 kB / 2.491 GB, free: 46.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/8.015, allocations: 52.66 kB / 2.491 GB, free: 46.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02089/8.036, allocations: 1.339 MB / 2.492 GB, free: 46.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/8.036, allocations: 65.45 kB / 2.492 GB, free: 46.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/8.049, allocations: 290.7 kB / 2.492 GB, free: 46.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/8.051, allocations: 201.9 kB / 2.493 GB, free: 46.12 MB / 0.948 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.002783/8.054, allocations: 210.4 kB / 2.493 GB, free: 45.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/8.055, allocations: 374.9 kB / 2.493 GB, free: 45.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08604/8.141, allocations: 8.223 MB / 2.501 GB, free: 45.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/8.142, allocations: 42.36 kB / 2.501 GB, free: 45.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/8.142, allocations: 7.062 kB / 2.501 GB, free: 45.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06299/8.205, allocations: 6.976 MB / 2.508 GB, free: 45.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1051/8.31, allocations: 17.55 MB / 2.525 GB, free: 43.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-05/8.31, allocations: 14.5 kB / 2.525 GB, free: 43.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.07663/8.387, allocations: 3.497 MB / 2.529 GB, free: 43.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/8.387, allocations: 29.81 kB / 2.529 GB, free: 43.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001595/8.388, allocations: 73.33 kB / 2.529 GB, free: 43.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03094/8.419, allocations: 5.366 MB / 2.534 GB, free: 56.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-05/8.419, allocations: 22.91 kB / 2.534 GB, free: 56.21 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07177/8.491, allocations: 12.48 MB / 2.546 GB, free: 53.07 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0815/8.573, allocations: 15.91 MB / 2.562 GB, free: 49.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004979/8.578, allocations: 0.9329 MB / 2.563 GB, free: 49.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002416/8.58, allocations: 43.55 kB / 2.563 GB, free: 49.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007351/8.588, allocations: 200.2 kB / 2.563 GB, free: 49.21 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001466/8.589, allocations: 248.7 kB / 2.563 GB, free: 49.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001021/8.59, allocations: 175.1 kB / 2.563 GB, free: 49.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.005164/8.595, allocations: 1.616 MB / 2.565 GB, free: 49.05 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01972/8.615, allocations: 2.837 MB / 2.568 GB, free: 48.88 MB / 0.9636 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.008415/8.624, allocations: 1.763 MB / 2.569 GB, free: 48.46 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.1393/8.763, allocations: 11.29 MB / 2.58 GB, free: 48.38 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.957e-05/8.763, allocations: 6.719 kB / 2.58 GB, free: 48.38 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.1208/8.884, allocations: 6.264 MB / 2.586 GB, free: 46.55 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01522/8.899, allocations: 1.273 MB / 2.588 GB, free: 45.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03263/8.932, allocations: 9.046 MB / 2.597 GB, free: 37.73 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01044/8.942, allocations: 3.652 MB / 2.6 GB, free: 34.93 MB / 0.9636 GB Notification: Performance of SimCode: time 1.543e-06/8.942, allocations: 0 / 2.6 GB, free: 34.93 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)