Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.431/1.431, allocations: 285.5 MB / 292.8 MB, free: 9.883 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.00129/0.00129, allocations: 197.2 kB / 361.1 MB, free: 380 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.1 MB / 0.6195 GB, free: 2.938 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008411/0.0008411, allocations: 85.14 kB / 0.7326 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4074/0.4082, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.5806, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7487/1.329, allocations: 469.2 MB / 1.422 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/1.33, allocations: 89.56 kB / 1.422 GB, free: 0.7227 MB / 0.9167 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.016/4.346, allocations: 0.9407 GB / 2.363 GB, free: 91.43 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/4.346, allocations: 11.31 kB / 2.363 GB, free: 91.43 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/4.35, allocations: 0.5861 MB / 2.363 GB, free: 91.15 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/4.362, allocations: 4.053 MB / 2.367 GB, free: 90.42 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/4.362, allocations: 123.2 kB / 2.367 GB, free: 90.42 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/4.363, allocations: 235.8 kB / 2.368 GB, free: 90.42 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008275/4.372, allocations: 5.091 MB / 2.373 GB, free: 90.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007472/4.379, allocations: 5.522 MB / 2.378 GB, free: 89.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-05/4.379, allocations: 20.44 kB / 2.378 GB, free: 89.59 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004421/4.38, allocations: 10.44 kB / 2.378 GB, free: 89.59 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003546/4.38, allocations: 406.3 kB / 2.378 GB, free: 89.59 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/4.408, allocations: 25.05 MB / 2.403 GB, free: 76.15 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/4.413, allocations: 3.955 MB / 2.407 GB, free: 76.09 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/4.416, allocations: 2.299 MB / 2.409 GB, free: 76.07 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0183/4.434, allocations: 12.41 MB / 2.421 GB, free: 70.61 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00257/4.436, allocations: 2.143 MB / 2.423 GB, free: 70.51 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=310): time 5.44e-06/4.436, allocations: 0 / 2.423 GB, free: 70.51 MB / 0.9792 GB Notification: Performance of matching and sorting (n=334): time 0.08221/4.519, allocations: 18.68 MB / 2.441 GB, free: 68.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/4.519, allocations: 110.6 kB / 2.442 GB, free: 68.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/4.522, allocations: 2.222 MB / 2.444 GB, free: 67.46 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007215/4.522, allocations: 30.86 kB / 2.444 GB, free: 67.43 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008998/4.523, allocations: 1.516 MB / 2.445 GB, free: 66.36 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009792/4.524, allocations: 1.111 MB / 2.446 GB, free: 65.49 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/4.524, allocations: 0 / 2.446 GB, free: 65.49 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001538/4.525, allocations: 475.9 kB / 2.447 GB, free: 65.11 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/4.527, allocations: 1.886 MB / 2.449 GB, free: 64.45 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/4.53, allocations: 2.908 MB / 2.451 GB, free: 62.61 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02477/4.554, allocations: 5.292 MB / 2.457 GB, free: 61.57 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.447e-05/4.554, allocations: 8 kB / 2.457 GB, free: 61.57 MB / 0.9792 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03168/4.586, allocations: 8.092 MB / 2.465 GB, free: 59.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001771/4.588, allocations: 11.92 MB / 2.476 GB, free: 47.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-05/4.588, allocations: 31.81 kB / 2.476 GB, free: 47.19 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.875e-05/4.588, allocations: 50.03 kB / 2.476 GB, free: 47.19 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03677/4.625, allocations: 3.866 MB / 2.48 GB, free: 47.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/4.637, allocations: 5.504 MB / 2.485 GB, free: 43.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/4.643, allocations: 297.7 kB / 2.486 GB, free: 43.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009245/4.643, allocations: 203.3 kB / 2.486 GB, free: 43.26 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/4.643, allocations: 3.656 kB / 2.486 GB, free: 43.26 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02198/4.665, allocations: 6.147 MB / 2.492 GB, free: 41.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.099e-05/4.666, allocations: 26.72 kB / 2.492 GB, free: 41.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.205e-05/4.666, allocations: 52.59 kB / 2.492 GB, free: 41.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006459/4.672, allocations: 1.336 MB / 2.493 GB, free: 41.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-05/4.672, allocations: 67 kB / 2.493 GB, free: 41.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/4.676, allocations: 296.7 kB / 2.494 GB, free: 41.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/4.677, allocations: 191.2 kB / 2.494 GB, free: 41.55 MB / 0.9792 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.0009745/4.678, allocations: 210.4 kB / 2.494 GB, free: 41.36 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000661/4.679, allocations: 374.3 kB / 2.494 GB, free: 41.17 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03284/4.711, allocations: 8.222 MB / 2.502 GB, free: 39.16 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.409e-05/4.711, allocations: 42.91 kB / 2.502 GB, free: 39.16 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/4.712, allocations: 1.188 kB / 2.502 GB, free: 39.16 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02835/4.74, allocations: 6.975 MB / 2.509 GB, free: 33.98 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04674/4.787, allocations: 17.56 MB / 2.526 GB, free: 19.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/4.787, allocations: 16 kB / 2.526 GB, free: 19.92 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03405/4.821, allocations: 3.491 MB / 2.53 GB, free: 17.38 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/4.821, allocations: 35.91 kB / 2.53 GB, free: 17.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007443/4.822, allocations: 67.77 kB / 2.53 GB, free: 17.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/4.833, allocations: 5.365 MB / 2.535 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/4.833, allocations: 27.84 kB / 2.535 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03251/4.865, allocations: 12.47 MB / 2.547 GB, free: 0.9688 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03968/4.905, allocations: 15.91 MB / 2.563 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003098/4.908, allocations: 0.9396 MB / 2.564 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/4.91, allocations: 43.97 kB / 2.564 GB, free: 15.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/4.913, allocations: 202.6 kB / 2.564 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004783/4.914, allocations: 253.8 kB / 2.564 GB, free: 15.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004745/4.914, allocations: 175.8 kB / 2.564 GB, free: 15.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.002688/4.917, allocations: 1.614 MB / 2.566 GB, free: 13.55 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01255/4.93, allocations: 2.839 MB / 2.569 GB, free: 10.72 MB / 1.01 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.004275/4.934, allocations: 1.768 MB / 2.571 GB, free: 9.211 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.4478/5.382, allocations: 11.28 MB / 2.582 GB, free: 227.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.326e-05/5.382, allocations: 8.719 kB / 2.582 GB, free: 227.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.05254/5.434, allocations: 6.26 MB / 2.588 GB, free: 227.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007445/5.442, allocations: 1.267 MB / 2.589 GB, free: 227.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/5.46, allocations: 9.052 MB / 2.598 GB, free: 225.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004145/5.464, allocations: 3.658 MB / 2.601 GB, free: 224.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.803e-06/5.464, allocations: 0 / 2.601 GB, free: 224.6 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)