Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001159/0.001159, allocations: 185.3 kB / 366.3 MB, free: 1.996 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.595/1.595, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.001041/0.001042, allocations: 75.41 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3033/0.3044, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8531/1.158, allocations: 116.3 MB / 0.9727 GB, free: 68.44 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/2.281, allocations: 470.2 MB / 1.432 GB, free: 20.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/2.281, allocations: 104.9 kB / 1.432 GB, free: 20.4 MB / 0.823 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 4.216/6.497, allocations: 0.9407 GB / 2.373 GB, free: 99.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/6.497, allocations: 9.281 kB / 2.373 GB, free: 99.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/6.502, allocations: 0.5902 MB / 2.373 GB, free: 99.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/6.517, allocations: 4.069 MB / 2.377 GB, free: 98.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/6.517, allocations: 120.2 kB / 2.377 GB, free: 98.83 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/6.519, allocations: 237.7 kB / 2.378 GB, free: 98.83 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01251/6.532, allocations: 5.082 MB / 2.382 GB, free: 98.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/6.551, allocations: 5.527 MB / 2.388 GB, free: 98.01 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003433/6.552, allocations: 17.78 kB / 2.388 GB, free: 98 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00245/6.554, allocations: 11.75 kB / 2.388 GB, free: 98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006541/6.555, allocations: 407.9 kB / 2.388 GB, free: 98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05694/6.612, allocations: 25.02 MB / 2.413 GB, free: 84.58 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009404/6.621, allocations: 3.972 MB / 2.417 GB, free: 84.53 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004926/6.626, allocations: 2.297 MB / 2.419 GB, free: 84.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03676/6.663, allocations: 12.42 MB / 2.431 GB, free: 79.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006047/6.669, allocations: 2.143 MB / 2.433 GB, free: 78.94 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=310): time 1.17e-05/6.669, allocations: 0 / 2.433 GB, free: 78.94 MB / 0.9636 GB Notification: Performance of matching and sorting (n=334): time 0.1071/6.776, allocations: 18.68 MB / 2.451 GB, free: 77.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/6.777, allocations: 116 kB / 2.451 GB, free: 77.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006927/6.784, allocations: 2.219 MB / 2.454 GB, free: 77.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001977/6.786, allocations: 39.08 kB / 2.454 GB, free: 77.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002084/6.788, allocations: 1.514 MB / 2.455 GB, free: 76.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002493/6.79, allocations: 1.119 MB / 2.456 GB, free: 75.61 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/6.791, allocations: 0 / 2.456 GB, free: 75.61 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000401/6.792, allocations: 468.2 kB / 2.457 GB, free: 75.29 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/6.795, allocations: 1.882 MB / 2.458 GB, free: 75.28 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004471/6.8, allocations: 2.905 MB / 2.461 GB, free: 74.19 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02696/6.827, allocations: 5.292 MB / 2.466 GB, free: 74.14 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.313e-05/6.827, allocations: 7.875 kB / 2.466 GB, free: 74.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03435/6.861, allocations: 8.098 MB / 2.474 GB, free: 73.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00291/6.864, allocations: 11.91 MB / 2.486 GB, free: 61.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.367e-05/6.864, allocations: 30.5 kB / 2.486 GB, free: 61.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/6.865, allocations: 52 kB / 2.486 GB, free: 61.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0393/6.904, allocations: 3.858 MB / 2.49 GB, free: 61.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/6.917, allocations: 5.506 MB / 2.495 GB, free: 58.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007475/6.924, allocations: 300.1 kB / 2.496 GB, free: 57.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/6.926, allocations: 205 kB / 2.496 GB, free: 57.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/6.926, allocations: 3.875 kB / 2.496 GB, free: 57.98 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02274/6.949, allocations: 6.146 MB / 2.502 GB, free: 57.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-05/6.949, allocations: 28.88 kB / 2.502 GB, free: 57.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.626e-05/6.949, allocations: 52.25 kB / 2.502 GB, free: 57.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006929/6.956, allocations: 1.335 MB / 2.503 GB, free: 57.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-05/6.956, allocations: 64.98 kB / 2.503 GB, free: 57.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005898/6.962, allocations: 294.8 kB / 2.503 GB, free: 57.88 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/6.963, allocations: 198.3 kB / 2.504 GB, free: 57.88 MB / 0.9636 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.00185/6.965, allocations: 217.9 kB / 2.504 GB, free: 57.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/6.967, allocations: 375.9 kB / 2.504 GB, free: 57.57 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03554/7.002, allocations: 8.216 MB / 2.512 GB, free: 57.38 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.295e-05/7.002, allocations: 47.19 kB / 2.512 GB, free: 57.38 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/7.002, allocations: 2.875 kB / 2.512 GB, free: 57.38 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03139/7.034, allocations: 6.97 MB / 2.519 GB, free: 57.05 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05695/7.091, allocations: 17.56 MB / 2.536 GB, free: 55.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.941e-05/7.091, allocations: 22.72 kB / 2.536 GB, free: 55.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03672/7.128, allocations: 3.49 MB / 2.54 GB, free: 55.49 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.621e-05/7.128, allocations: 33.19 kB / 2.54 GB, free: 55.49 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/7.129, allocations: 68.27 kB / 2.54 GB, free: 55.49 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/7.141, allocations: 5.369 MB / 2.545 GB, free: 51.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.711e-05/7.141, allocations: 24.22 kB / 2.545 GB, free: 51.98 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03806/7.18, allocations: 12.47 MB / 2.557 GB, free: 48.84 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04186/7.221, allocations: 15.92 MB / 2.573 GB, free: 45.29 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003573/7.225, allocations: 0.9398 MB / 2.574 GB, free: 44.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/7.227, allocations: 38.23 kB / 2.574 GB, free: 44.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004825/7.232, allocations: 201 kB / 2.574 GB, free: 44.97 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005624/7.232, allocations: 248 kB / 2.574 GB, free: 44.96 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005055/7.233, allocations: 176.1 kB / 2.574 GB, free: 44.96 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003006/7.236, allocations: 1.611 MB / 2.576 GB, free: 44.81 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01692/7.253, allocations: 2.839 MB / 2.579 GB, free: 44.64 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.00609/7.259, allocations: 1.779 MB / 2.58 GB, free: 44.18 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0684/7.327, allocations: 11.29 MB / 2.591 GB, free: 40.75 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.826e-05/7.327, allocations: 5 kB / 2.591 GB, free: 40.75 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.05596/7.383, allocations: 6.264 MB / 2.598 GB, free: 36.01 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008971/7.392, allocations: 1.272 MB / 2.599 GB, free: 35.11 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/7.417, allocations: 9.041 MB / 2.608 GB, free: 27.11 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00627/7.423, allocations: 3.653 MB / 2.611 GB, free: 24.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.453e-06/7.423, allocations: 0 / 2.611 GB, free: 24.3 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)