Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.37/1.37, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009989/0.0009985, allocations: 177.3 kB / 361.1 MB, free: 7.109 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.201/1.201, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0009485/0.0009485, allocations: 90.44 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2248/0.2258, allocations: 121.4 MB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.7499, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7917/1.542, allocations: 439.9 MB / 1.393 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.542, allocations: 92.28 kB / 1.393 GB, free: 127.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 1.256/2.798, allocations: 469 MB / 1.851 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/2.798, allocations: 12.5 kB / 1.851 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/2.799, allocations: 134.4 kB / 1.852 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/2.819, allocations: 9.18 MB / 1.861 GB, free: 106 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/2.819, allocations: 20 kB / 1.861 GB, free: 106 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/2.819, allocations: 47.91 kB / 1.861 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001076/2.82, allocations: 491.9 kB / 1.861 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/2.822, allocations: 0.6367 MB / 1.862 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/2.822, allocations: 0 / 1.862 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/2.822, allocations: 7.938 kB / 1.862 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/2.822, allocations: 16 kB / 1.862 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/2.827, allocations: 3.951 MB / 1.866 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/2.827, allocations: 278.5 kB / 1.866 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/2.827, allocations: 180.8 kB / 1.866 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009087/2.828, allocations: 1.52 MB / 1.867 GB, free: 98.26 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/2.828, allocations: 42.5 kB / 1.868 GB, free: 98.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=44): time 2.023e-06/2.828, allocations: 4 kB / 1.868 GB, free: 98.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.001681/2.83, allocations: 0.5756 MB / 1.868 GB, free: 97.62 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/2.83, allocations: 55.41 kB / 1.868 GB, free: 97.56 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/2.831, allocations: 0.669 MB / 1.869 GB, free: 96.88 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/2.831, allocations: 29.7 kB / 1.869 GB, free: 96.84 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/2.831, allocations: 343.4 kB / 1.869 GB, free: 96.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.831, allocations: 157.7 kB / 1.869 GB, free: 96.35 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/2.831, allocations: 0 / 1.869 GB, free: 96.35 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/2.831, allocations: 330 kB / 1.87 GB, free: 96.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/2.831, allocations: 161.3 kB / 1.87 GB, free: 95.86 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/2.832, allocations: 304 kB / 1.87 GB, free: 95.51 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/2.833, allocations: 357.1 kB / 1.87 GB, free: 95.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/2.833, allocations: 3.938 kB / 1.87 GB, free: 95.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001709/2.835, allocations: 0.698 MB / 1.871 GB, free: 94.45 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001949/2.835, allocations: 1.136 MB / 1.872 GB, free: 93.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/2.835, allocations: 11.98 kB / 1.872 GB, free: 93.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/2.835, allocations: 4 kB / 1.872 GB, free: 93.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/2.835, allocations: 127.8 kB / 1.872 GB, free: 93.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/2.835, allocations: 11.92 kB / 1.872 GB, free: 93.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/2.836, allocations: 75.41 kB / 1.872 GB, free: 93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/2.836, allocations: 27.98 kB / 1.872 GB, free: 92.97 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/2.836, allocations: 7.984 kB / 1.872 GB, free: 92.96 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/2.838, allocations: 0.5843 MB / 1.873 GB, free: 92.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/2.838, allocations: 4 kB / 1.873 GB, free: 92.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/2.838, allocations: 8 kB / 1.873 GB, free: 92.37 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/2.838, allocations: 127.8 kB / 1.873 GB, free: 92.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/2.838, allocations: 7.938 kB / 1.873 GB, free: 92.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/2.839, allocations: 71.64 kB / 1.873 GB, free: 92.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/2.839, allocations: 35.98 kB / 1.873 GB, free: 92.13 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001199/2.839, allocations: 116.9 kB / 1.873 GB, free: 92.01 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/2.839, allocations: 94.78 kB / 1.873 GB, free: 91.92 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/2.841, allocations: 1.05 MB / 1.874 GB, free: 90.86 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/2.841, allocations: 11.89 kB / 1.874 GB, free: 90.85 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/2.841, allocations: 4 kB / 1.874 GB, free: 90.84 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/2.843, allocations: 0.8673 MB / 1.875 GB, free: 89.91 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/2.846, allocations: 1.865 MB / 1.877 GB, free: 87.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/2.846, allocations: 7.984 kB / 1.877 GB, free: 87.97 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/2.846, allocations: 99.8 kB / 1.877 GB, free: 87.87 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/2.846, allocations: 4 kB / 1.877 GB, free: 87.87 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/2.846, allocations: 11.98 kB / 1.877 GB, free: 87.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/2.846, allocations: 4 kB / 1.877 GB, free: 87.85 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.846, allocations: 4.234 kB / 1.877 GB, free: 87.85 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001781/2.848, allocations: 1.282 MB / 1.879 GB, free: 86.49 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002297/2.85, allocations: 2.035 MB / 1.881 GB, free: 84.38 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/2.851, allocations: 267.7 kB / 1.881 GB, free: 84.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/2.851, allocations: 11.94 kB / 1.881 GB, free: 84.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/2.851, allocations: 40.06 kB / 1.881 GB, free: 84.05 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/2.851, allocations: 36.44 kB / 1.881 GB, free: 84.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/2.851, allocations: 31.98 kB / 1.881 GB, free: 83.98 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005609/2.852, allocations: 0.5148 MB / 1.881 GB, free: 83.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003126/2.855, allocations: 0.8229 MB / 1.882 GB, free: 82.65 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.001201/2.856, allocations: 0.7341 MB / 1.883 GB, free: 81.96 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001091/2.858, allocations: 0.8986 MB / 1.884 GB, free: 81.03 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.858, allocations: 0 / 1.884 GB, free: 81.03 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/2.858, allocations: 365.3 kB / 1.884 GB, free: 80.66 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/2.859, allocations: 378 kB / 1.885 GB, free: 80.29 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/2.862, allocations: 1.518 MB / 1.886 GB, free: 78.72 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/2.863, allocations: 1.21 MB / 1.887 GB, free: 77.49 MB / 0.9323 GB Notification: Performance of SimCode: time 3.71e-07/2.863, allocations: 0 / 1.887 GB, free: 77.49 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)