Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.528/2.528, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.00166/0.00166, allocations: 181.3 kB / 360.3 MB, free: 7.516 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.838/1.838, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001281/0.001281, allocations: 91.38 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2656/0.2669, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6608/0.9278, allocations: 115.2 MB / 0.9627 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.962, allocations: 439.8 MB / 1.392 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.963, allocations: 95.31 kB / 1.392 GB, free: 129.3 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 2.065/4.028, allocations: 468.7 MB / 1.85 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/4.028, allocations: 12.5 kB / 1.85 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/4.029, allocations: 134.4 kB / 1.85 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03358/4.062, allocations: 9.183 MB / 1.859 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/4.062, allocations: 20 kB / 1.859 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/4.063, allocations: 47.91 kB / 1.859 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00152/4.064, allocations: 491.9 kB / 1.86 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/4.066, allocations: 0.6328 MB / 1.86 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/4.066, allocations: 4 kB / 1.86 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/4.066, allocations: 0 / 1.86 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/4.066, allocations: 20 kB / 1.86 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007448/4.073, allocations: 3.939 MB / 1.864 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000782/4.074, allocations: 281.7 kB / 1.864 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/4.075, allocations: 184.8 kB / 1.865 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/4.076, allocations: 1.515 MB / 1.866 GB, free: 99.39 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/4.076, allocations: 38.56 kB / 1.866 GB, free: 99.34 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=44): time 3.156e-06/4.076, allocations: 0 / 1.866 GB, free: 99.34 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.002813/4.079, allocations: 0.5724 MB / 1.867 GB, free: 98.76 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/4.079, allocations: 59.34 kB / 1.867 GB, free: 98.69 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/4.081, allocations: 0.669 MB / 1.867 GB, free: 98.02 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/4.081, allocations: 29.69 kB / 1.867 GB, free: 97.98 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/4.081, allocations: 343.4 kB / 1.868 GB, free: 97.64 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/4.081, allocations: 157.7 kB / 1.868 GB, free: 97.48 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/4.081, allocations: 0 / 1.868 GB, free: 97.48 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/4.081, allocations: 330 kB / 1.868 GB, free: 97.16 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/4.082, allocations: 165.3 kB / 1.868 GB, free: 97 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/4.082, allocations: 299.2 kB / 1.869 GB, free: 96.66 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/4.084, allocations: 353 kB / 1.869 GB, free: 96.31 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/4.084, allocations: 0 / 1.869 GB, free: 96.31 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002935/4.087, allocations: 0.7096 MB / 1.87 GB, free: 95.59 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002304/4.087, allocations: 1.136 MB / 1.871 GB, free: 94.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/4.087, allocations: 7.984 kB / 1.871 GB, free: 94.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/4.088, allocations: 4 kB / 1.871 GB, free: 94.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/4.088, allocations: 127.8 kB / 1.871 GB, free: 94.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/4.089, allocations: 15.92 kB / 1.871 GB, free: 94.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/4.09, allocations: 71.41 kB / 1.871 GB, free: 94.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/4.09, allocations: 31.98 kB / 1.871 GB, free: 94.12 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/4.09, allocations: 4 kB / 1.871 GB, free: 94.11 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002686/4.093, allocations: 0.592 MB / 1.872 GB, free: 93.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/4.093, allocations: 8 kB / 1.872 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/4.093, allocations: 4 kB / 1.872 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/4.094, allocations: 127.8 kB / 1.872 GB, free: 93.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/4.094, allocations: 4 kB / 1.872 GB, free: 93.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/4.095, allocations: 71.73 kB / 1.872 GB, free: 93.31 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/4.095, allocations: 27.98 kB / 1.872 GB, free: 93.28 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.0001956/4.095, allocations: 116.9 kB / 1.872 GB, free: 93.16 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/4.095, allocations: 98.78 kB / 1.872 GB, free: 93.06 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/4.099, allocations: 1.062 MB / 1.873 GB, free: 92.01 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/4.099, allocations: 11.91 kB / 1.873 GB, free: 92 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/4.099, allocations: 7.922 kB / 1.873 GB, free: 91.99 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002291/4.102, allocations: 0.8673 MB / 1.874 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/4.107, allocations: 1.857 MB / 1.876 GB, free: 89.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/4.107, allocations: 7.984 kB / 1.876 GB, free: 89.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008392/4.108, allocations: 99.73 kB / 1.876 GB, free: 89.03 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/4.108, allocations: 4 kB / 1.876 GB, free: 89.02 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/4.108, allocations: 15.98 kB / 1.876 GB, free: 89.01 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/4.108, allocations: 4 kB / 1.876 GB, free: 89 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/4.108, allocations: 4.188 kB / 1.876 GB, free: 89 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003312/4.111, allocations: 1.28 MB / 1.877 GB, free: 87.65 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004235/4.116, allocations: 2.033 MB / 1.879 GB, free: 85.54 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007649/4.117, allocations: 267.7 kB / 1.879 GB, free: 85.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/4.117, allocations: 4 kB / 1.879 GB, free: 85.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/4.118, allocations: 43.81 kB / 1.879 GB, free: 85.21 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/4.118, allocations: 44.38 kB / 1.88 GB, free: 85.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-05/4.118, allocations: 23.98 kB / 1.88 GB, free: 85.14 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001017/4.119, allocations: 0.5109 MB / 1.88 GB, free: 84.64 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004986/4.124, allocations: 0.8268 MB / 1.881 GB, free: 83.81 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.001778/4.126, allocations: 0.7381 MB / 1.882 GB, free: 83.12 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002039/4.128, allocations: 0.8986 MB / 1.882 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/4.128, allocations: 0 / 1.882 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007233/4.129, allocations: 369.6 kB / 1.883 GB, free: 81.83 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/4.132, allocations: 381.1 kB / 1.883 GB, free: 81.46 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/4.136, allocations: 1.525 MB / 1.885 GB, free: 79.88 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/4.138, allocations: 1.198 MB / 1.886 GB, free: 78.66 MB / 0.9323 GB Notification: Performance of SimCode: time 1.333e-06/4.138, allocations: 0 / 1.886 GB, free: 78.66 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)