Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 249.4 MB / 256.7 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009533/0.0009532, allocations: 185.2 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.162/1.162, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008688/0.0008689, allocations: 89 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3243/0.3252, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.4763, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.492, allocations: 462.6 MB / 1.336 GB, free: 284.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.493, allocations: 95.94 kB / 1.337 GB, free: 284.7 MB / 0.8698 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 2.413/3.906, allocations: 0.9219 GB / 2.258 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/3.906, allocations: 15.94 kB / 2.258 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/3.91, allocations: 0.5795 MB / 2.259 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/3.922, allocations: 4.049 MB / 2.263 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/3.922, allocations: 120 kB / 2.263 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001697/3.924, allocations: 235.9 kB / 2.263 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01034/3.934, allocations: 5.083 MB / 2.268 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/3.945, allocations: 5.467 MB / 2.274 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/3.945, allocations: 19.83 kB / 2.274 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004847/3.946, allocations: 8 kB / 2.274 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004162/3.946, allocations: 407 kB / 2.274 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3514/4.298, allocations: 24.96 MB / 2.298 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/4.303, allocations: 3.974 MB / 2.302 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/4.305, allocations: 2.293 MB / 2.305 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01801/4.323, allocations: 12.36 MB / 2.317 GB, free: 157 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002647/4.326, allocations: 2.08 MB / 2.319 GB, free: 156.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=310): time 4.99e-06/4.326, allocations: 0 / 2.319 GB, free: 156.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=334): time 0.08313/4.409, allocations: 18.67 MB / 2.337 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/4.409, allocations: 116.2 kB / 2.337 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/4.412, allocations: 2.223 MB / 2.339 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008395/4.413, allocations: 32.23 kB / 2.339 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009817/4.414, allocations: 1.52 MB / 2.341 GB, free: 154.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/4.415, allocations: 1.113 MB / 2.342 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/4.415, allocations: 0 / 2.342 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001678/4.415, allocations: 473.1 kB / 2.342 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/4.418, allocations: 1.887 MB / 2.344 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/4.421, allocations: 2.903 MB / 2.347 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02412/4.445, allocations: 5.287 MB / 2.352 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.585e-05/4.445, allocations: 9.375 kB / 2.352 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03039/4.475, allocations: 8.098 MB / 2.36 GB, free: 152.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001922/4.477, allocations: 11.92 MB / 2.372 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.946e-05/4.477, allocations: 29.59 kB / 2.372 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.448e-05/4.477, allocations: 50.75 kB / 2.372 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03631/4.514, allocations: 3.862 MB / 2.375 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/4.525, allocations: 5.5 MB / 2.381 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005649/4.531, allocations: 298.9 kB / 2.381 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/4.532, allocations: 203.3 kB / 2.381 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/4.532, allocations: 3.688 kB / 2.381 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01955/4.552, allocations: 6.148 MB / 2.387 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/4.552, allocations: 28.81 kB / 2.387 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-05/4.552, allocations: 52.75 kB / 2.387 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006224/4.558, allocations: 1.342 MB / 2.389 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.448e-05/4.558, allocations: 60.84 kB / 2.389 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/4.563, allocations: 292.8 kB / 2.389 GB, free: 136.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005624/4.563, allocations: 202.2 kB / 2.389 GB, free: 136.5 MB / 0.9011 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.001059/4.565, allocations: 216.4 kB / 2.389 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/4.565, allocations: 369 kB / 2.39 GB, free: 136.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02952/4.595, allocations: 8.215 MB / 2.398 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-05/4.595, allocations: 44.95 kB / 2.398 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/4.595, allocations: 3.844 kB / 2.398 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02657/4.621, allocations: 6.974 MB / 2.405 GB, free: 135.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04423/4.666, allocations: 17.51 MB / 2.422 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/4.666, allocations: 16.91 kB / 2.422 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03421/4.7, allocations: 3.495 MB / 2.425 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-05/4.7, allocations: 29.59 kB / 2.425 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006551/4.701, allocations: 76.23 kB / 2.425 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/4.712, allocations: 5.368 MB / 2.431 GB, free: 130.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/4.712, allocations: 23.31 kB / 2.431 GB, free: 130.7 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0314/4.743, allocations: 12.47 MB / 2.443 GB, free: 127.5 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0338/4.777, allocations: 15.9 MB / 2.458 GB, free: 124 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/4.779, allocations: 0.915 MB / 2.459 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000698/4.78, allocations: 47.09 kB / 2.459 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/4.783, allocations: 195.5 kB / 2.459 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/4.783, allocations: 249.7 kB / 2.46 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/4.784, allocations: 169.3 kB / 2.46 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.002051/4.786, allocations: 1.609 MB / 2.461 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009045/4.795, allocations: 2.839 MB / 2.464 GB, free: 123.5 MB / 0.9011 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.003294/4.798, allocations: 1.762 MB / 2.466 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.06037/4.858, allocations: 11.28 MB / 2.477 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/4.858, allocations: 4.375 kB / 2.477 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.05276/4.911, allocations: 6.259 MB / 2.483 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006842/4.918, allocations: 1.269 MB / 2.484 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/4.934, allocations: 9.06 MB / 2.493 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004223/4.938, allocations: 3.647 MB / 2.497 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/4.938, allocations: 0 / 2.497 GB, free: 120.4 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)