Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",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/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 192 kB / 7.806 MB, free: 2.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4647/0.4647, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009279, allocations: 89.88 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1768/0.1777, allocations: 78.45 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.5632, allocations: 72.3 MB / 0.553 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.738/4.301, allocations: 1.818 GB / 2.371 GB, free: 237.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/4.302, allocations: 82.25 kB / 2.371 GB, free: 237.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.3817/4.683, allocations: 217.4 MB / 2.583 GB, free: 21.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/4.683, allocations: 12 kB / 2.583 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/4.684, allocations: 55.58 kB / 2.583 GB, free: 21.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/4.684, allocations: 294.2 kB / 2.584 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/4.684, allocations: 4 kB / 2.584 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/4.685, allocations: 15.98 kB / 2.584 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002891/4.685, allocations: 148 kB / 2.584 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/4.685, allocations: 201.5 kB / 2.584 GB, free: 20.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/4.685, allocations: 3.984 kB / 2.584 GB, free: 20.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/4.685, allocations: 3.938 kB / 2.584 GB, free: 20.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/4.685, allocations: 8.328 kB / 2.584 GB, free: 20.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/4.687, allocations: 0.8536 MB / 2.585 GB, free: 19.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/4.687, allocations: 118.5 kB / 2.585 GB, free: 19.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/4.687, allocations: 100.7 kB / 2.585 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/4.687, allocations: 194.2 kB / 2.585 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/4.687, allocations: 30.56 kB / 2.585 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 2.053e-06/4.687, allocations: 0 / 2.585 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005657/4.688, allocations: 222.1 kB / 2.586 GB, free: 18.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/4.688, allocations: 55.41 kB / 2.586 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/4.688, allocations: 158.5 kB / 2.586 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/4.688, allocations: 25.7 kB / 2.586 GB, free: 18.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/4.688, allocations: 128.2 kB / 2.586 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/4.688, allocations: 39.36 kB / 2.586 GB, free: 18.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/4.688, allocations: 4 kB / 2.586 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/4.688, allocations: 330.7 kB / 2.586 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/4.688, allocations: 67.95 kB / 2.586 GB, free: 17.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/4.689, allocations: 120.1 kB / 2.586 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.987e-05/4.689, allocations: 77.69 kB / 2.586 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/4.689, allocations: 0 / 2.586 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002738/4.689, allocations: 201.3 kB / 2.587 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/4.689, allocations: 8 kB / 2.587 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/4.689, allocations: 0 / 2.587 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/4.689, allocations: 3.984 kB / 2.587 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/4.689, allocations: 40.03 kB / 2.587 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/4.689, allocations: 4 kB / 2.587 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/4.689, allocations: 23.89 kB / 2.587 GB, free: 17.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/4.69, allocations: 15.98 kB / 2.587 GB, free: 17.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/4.69, allocations: 108.9 kB / 2.587 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/4.69, allocations: 19.81 kB / 2.587 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/4.69, allocations: 25.45 kB / 2.587 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/4.69, allocations: 0 / 2.587 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/4.69, allocations: 3.906 kB / 2.587 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/4.69, allocations: 3.984 kB / 2.587 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008121/4.691, allocations: 0.6528 MB / 2.588 GB, free: 16.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/4.691, allocations: 4 kB / 2.588 GB, free: 16.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/4.691, allocations: 40.19 kB / 2.588 GB, free: 16.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/4.691, allocations: 3.984 kB / 2.588 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/4.691, allocations: 7.938 kB / 2.588 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/4.691, allocations: 4 kB / 2.588 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/4.691, allocations: 3.938 kB / 2.588 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003461/4.691, allocations: 434.5 kB / 2.588 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004845/4.692, allocations: 0.8278 MB / 2.589 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/4.692, allocations: 104.9 kB / 2.589 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/4.692, allocations: 4 kB / 2.589 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/4.692, allocations: 15.97 kB / 2.589 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/4.692, allocations: 19.91 kB / 2.589 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/4.692, allocations: 7.984 kB / 2.589 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.205e-05/4.692, allocations: 136 kB / 2.589 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001243/4.693, allocations: 207.8 kB / 2.589 GB, free: 14.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/4.695, allocations: 1.012 MB / 2.59 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002794/4.695, allocations: 167.8 kB / 2.59 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/4.695, allocations: 8.062 kB / 2.59 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/4.695, allocations: 103.8 kB / 2.591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/4.696, allocations: 70.67 kB / 2.591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/4.696, allocations: 309.5 kB / 2.591 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/4.696, allocations: 0.7897 MB / 2.592 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/4.696, allocations: 0 / 2.592 GB, free: 12.06 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)