Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7709/0.7709, allocations: 141.8 MB / 149.1 MB, free: 13.51 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.001182/0.001182, allocations: 184.1 kB / 181.9 MB, free: 10.16 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.456/1.456, allocations: 221.3 MB / 436 MB, free: 2.652 MB / 331 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 99.03 kB / 0.507 GB, free: 17.7 MB / 379 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001832, allocations: 280.4 kB / 0.5884 GB, free: 4.156 MB / 443 MB Notification: Performance of FrontEnd - loaded program: time 0.4475/0.4494, allocations: 89.65 MB / 0.676 GB, free: 136.5 MB / 0.5108 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.6268, allocations: 82.77 MB / 0.7568 GB, free: 83.7 MB / 0.5108 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.753, allocations: 440.1 MB / 1.187 GB, free: 183.1 MB / 0.6983 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/1.754, allocations: 97.11 kB / 1.187 GB, free: 183.1 MB / 0.6983 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 3.223/4.977, allocations: 0.9573 GB / 2.144 GB, free: 47.84 MB / 0.7139 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/4.977, allocations: 14.88 kB / 2.144 GB, free: 47.84 MB / 0.7139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/4.982, allocations: 0.5832 MB / 2.145 GB, free: 47.57 MB / 0.7139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/4.996, allocations: 4.066 MB / 2.148 GB, free: 45.98 MB / 0.7139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/4.997, allocations: 118.4 kB / 2.149 GB, free: 45.98 MB / 0.7139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/4.999, allocations: 240.5 kB / 2.149 GB, free: 45.96 MB / 0.7139 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01362/5.012, allocations: 5.086 MB / 2.154 GB, free: 44.3 MB / 0.7139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/5.031, allocations: 5.534 MB / 2.159 GB, free: 40.68 MB / 0.7139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/5.032, allocations: 15.94 kB / 2.159 GB, free: 40.66 MB / 0.7139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001911/5.034, allocations: 10.38 kB / 2.159 GB, free: 40.66 MB / 0.7139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004632/5.034, allocations: 409.1 kB / 2.16 GB, free: 40.26 MB / 0.7139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04045/5.075, allocations: 25.03 MB / 2.184 GB, free: 14 MB / 0.7139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006841/5.081, allocations: 3.953 MB / 2.188 GB, free: 10.07 MB / 0.7139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/5.085, allocations: 2.3 MB / 2.19 GB, free: 7.766 MB / 0.7139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02517/5.11, allocations: 12.42 MB / 2.202 GB, free: 10.46 MB / 0.7295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004091/5.114, allocations: 2.15 MB / 2.204 GB, free: 8.281 MB / 0.7295 GB Notification: Performance of pre-optimization done (n=310): time 8.015e-06/5.114, allocations: 7.938 kB / 2.204 GB, free: 8.273 MB / 0.7295 GB Notification: Performance of matching and sorting (n=334): time 0.1022/5.216, allocations: 18.67 MB / 2.223 GB, free: 5.543 MB / 0.7452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/5.217, allocations: 111.7 kB / 2.223 GB, free: 5.414 MB / 0.7452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006835/5.223, allocations: 2.217 MB / 2.225 GB, free: 3.195 MB / 0.7452 GB Notification: Performance of collectPreVariables (initialization): time 0.00128/5.225, allocations: 33.7 kB / 2.225 GB, free: 3.156 MB / 0.7452 GB Notification: Performance of collectInitialEqns (initialization): time 0.001831/5.227, allocations: 1.526 MB / 2.226 GB, free: 1.609 MB / 0.7452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002123/5.229, allocations: 1.111 MB / 2.228 GB, free: 496 kB / 0.7452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000846/5.23, allocations: 0 / 2.228 GB, free: 496 kB / 0.7452 GB Notification: Performance of setup shared object (initialization): time 0.0003654/5.23, allocations: 470.6 kB / 2.228 GB, free: 16 kB / 0.7452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.398/5.628, allocations: 1.887 MB / 2.23 GB, free: 125.6 MB / 0.7452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/5.633, allocations: 2.898 MB / 2.233 GB, free: 124.5 MB / 0.7452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02748/5.66, allocations: 5.29 MB / 2.238 GB, free: 124.4 MB / 0.7452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.638e-05/5.66, allocations: 6.688 kB / 2.238 GB, free: 124.4 MB / 0.7452 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03727/5.697, allocations: 8.097 MB / 2.246 GB, free: 124.3 MB / 0.7452 GB Notification: Performance of prepare postOptimizeDAE: time 0.002671/5.7, allocations: 11.92 MB / 2.257 GB, free: 112.1 MB / 0.7452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/5.7, allocations: 30.25 kB / 2.257 GB, free: 112.1 MB / 0.7452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/5.7, allocations: 51.47 kB / 2.257 GB, free: 112.1 MB / 0.7452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03884/5.739, allocations: 3.858 MB / 2.261 GB, free: 112.1 MB / 0.7452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/5.752, allocations: 5.509 MB / 2.267 GB, free: 108.6 MB / 0.7452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/5.759, allocations: 291.9 kB / 2.267 GB, free: 108.6 MB / 0.7452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/5.761, allocations: 202.8 kB / 2.267 GB, free: 108.6 MB / 0.7452 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/5.761, allocations: 3.875 kB / 2.267 GB, free: 108.6 MB / 0.7452 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02567/5.786, allocations: 6.146 MB / 2.273 GB, free: 108.5 MB / 0.7452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/5.787, allocations: 28.78 kB / 2.273 GB, free: 108.5 MB / 0.7452 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.023e-05/5.787, allocations: 49.75 kB / 2.273 GB, free: 108.5 MB / 0.7452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007246/5.794, allocations: 1.342 MB / 2.274 GB, free: 108.5 MB / 0.7452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001018/5.794, allocations: 67.48 kB / 2.275 GB, free: 108.5 MB / 0.7452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005625/5.8, allocations: 287.3 kB / 2.275 GB, free: 108.5 MB / 0.7452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/5.801, allocations: 203.3 kB / 2.275 GB, free: 108.5 MB / 0.7452 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.002591/5.804, allocations: 220 kB / 2.275 GB, free: 108.4 MB / 0.7452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001976/5.806, allocations: 370.5 kB / 2.276 GB, free: 108.4 MB / 0.7452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03701/5.843, allocations: 8.219 MB / 2.284 GB, free: 108.2 MB / 0.7452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-05/5.843, allocations: 44.39 kB / 2.284 GB, free: 108.2 MB / 0.7452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.894e-05/5.843, allocations: 0 / 2.284 GB, free: 108.2 MB / 0.7452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03242/5.876, allocations: 6.979 MB / 2.29 GB, free: 107.9 MB / 0.7452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05419/5.93, allocations: 17.55 MB / 2.308 GB, free: 106.4 MB / 0.7452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-05/5.93, allocations: 16.09 kB / 2.308 GB, free: 106.4 MB / 0.7452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03646/5.966, allocations: 3.489 MB / 2.311 GB, free: 106.4 MB / 0.7452 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-05/5.966, allocations: 36.19 kB / 2.311 GB, free: 106.4 MB / 0.7452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/5.968, allocations: 71.03 kB / 2.311 GB, free: 106.4 MB / 0.7452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/5.98, allocations: 5.369 MB / 2.316 GB, free: 102.9 MB / 0.7452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.738e-05/5.98, allocations: 25.34 kB / 2.316 GB, free: 102.9 MB / 0.7452 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03845/6.018, allocations: 12.47 MB / 2.329 GB, free: 99.93 MB / 0.7452 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04388/6.062, allocations: 15.91 MB / 2.344 GB, free: 96.39 MB / 0.7452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003905/6.066, allocations: 0.9375 MB / 2.345 GB, free: 96.09 MB / 0.7452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/6.068, allocations: 42.45 kB / 2.345 GB, free: 96.09 MB / 0.7452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004943/6.073, allocations: 198.6 kB / 2.345 GB, free: 96.09 MB / 0.7452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009058/6.074, allocations: 255.8 kB / 2.345 GB, free: 96.07 MB / 0.7452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009253/6.075, allocations: 167.2 kB / 2.346 GB, free: 96.07 MB / 0.7452 GB Notification: Performance of sort global known variables: time 0.003799/6.079, allocations: 1.613 MB / 2.347 GB, free: 95.93 MB / 0.7452 GB Notification: Performance of remove unused functions: time 0.01477/6.093, allocations: 2.849 MB / 2.35 GB, free: 95.93 MB / 0.7452 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.005854/6.099, allocations: 1.784 MB / 2.352 GB, free: 95.76 MB / 0.7452 GB Notification: Performance of simCode: created initialization part: time 0.06797/6.167, allocations: 11.28 MB / 2.363 GB, free: 95.67 MB / 0.7452 GB Notification: Performance of simCode: created event and clocks part: time 2.613e-05/6.167, allocations: 5.406 kB / 2.363 GB, free: 95.67 MB / 0.7452 GB Notification: Performance of simCode: created simulation system equations: time 0.05627/6.224, allocations: 6.264 MB / 2.369 GB, free: 95.66 MB / 0.7452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008378/6.232, allocations: 1.275 MB / 2.37 GB, free: 95.64 MB / 0.7452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/6.255, allocations: 9.05 MB / 2.379 GB, free: 93.48 MB / 0.7452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004526/6.259, allocations: 3.66 MB / 2.383 GB, free: 92.61 MB / 0.7452 GB Notification: Performance of SimCode: time 1.272e-06/6.259, allocations: 0 / 2.383 GB, free: 92.61 MB / 0.7452 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)