Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.389/2.389, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001728/0.001728, allocations: 181.3 kB / 360.3 MB, free: 7.574 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.875/1.875, 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.001301/0.0013, allocations: 85.41 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2869/0.2882, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.8714, allocations: 115.2 MB / 0.9627 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.272/6.144, allocations: 2.059 GB / 3.021 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/6.144, allocations: 81.77 kB / 3.022 GB, free: 274.2 MB / 0.9323 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.7069/6.851, allocations: 215.3 MB / 3.232 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/6.851, allocations: 8.5 kB / 3.232 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/6.851, allocations: 51.66 kB / 3.232 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/6.852, allocations: 283.2 kB / 3.232 GB, free: 125 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/6.852, allocations: 8 kB / 3.232 GB, free: 125 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/6.852, allocations: 8 kB / 3.232 GB, free: 125 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004826/6.852, allocations: 181.2 kB / 3.232 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/6.853, allocations: 198.4 kB / 3.232 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/6.853, allocations: 0 / 3.232 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/6.853, allocations: 0 / 3.232 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/6.853, allocations: 12 kB / 3.232 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/6.855, allocations: 0.836 MB / 3.233 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/6.855, allocations: 126.5 kB / 3.233 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/6.855, allocations: 92.81 kB / 3.233 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003518/6.856, allocations: 194.2 kB / 3.234 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/6.856, allocations: 42.41 kB / 3.234 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 3.427e-06/6.856, allocations: 3.984 kB / 3.234 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.0008947/6.857, allocations: 224.1 kB / 3.234 GB, free: 123 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/6.857, allocations: 55.41 kB / 3.234 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/6.857, allocations: 157.8 kB / 3.234 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/6.857, allocations: 25.7 kB / 3.234 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/6.857, allocations: 132.2 kB / 3.234 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/6.857, allocations: 47.2 kB / 3.234 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/6.857, allocations: 0 / 3.234 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.02e-05/6.857, allocations: 326.8 kB / 3.235 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/6.858, allocations: 71.95 kB / 3.235 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/6.858, allocations: 108.2 kB / 3.235 GB, free: 122 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/6.858, allocations: 79.88 kB / 3.235 GB, free: 122 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/6.858, allocations: 0 / 3.235 GB, free: 122 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005025/6.858, allocations: 205.3 kB / 3.235 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/6.859, allocations: 5.25 kB / 3.235 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/6.859, allocations: 4 kB / 3.235 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/6.859, allocations: 4.062 kB / 3.235 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/6.859, allocations: 35.97 kB / 3.235 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/6.859, allocations: 0 / 3.235 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/6.859, allocations: 27.81 kB / 3.235 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/6.859, allocations: 16 kB / 3.235 GB, free: 121.7 MB / 0.9323 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 9.34e-05/6.86, allocations: 104.9 kB / 3.235 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/6.86, allocations: 19.72 kB / 3.235 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/6.86, allocations: 25.45 kB / 3.235 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/6.86, allocations: 4 kB / 3.235 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/6.86, allocations: 0 / 3.235 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/6.86, allocations: 3.938 kB / 3.235 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/6.861, allocations: 0.6489 MB / 3.236 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/6.861, allocations: 7.875 kB / 3.236 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/6.862, allocations: 40.19 kB / 3.236 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/6.862, allocations: 4 kB / 3.236 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/6.862, allocations: 11.89 kB / 3.236 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/6.862, allocations: 0 / 3.236 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/6.862, allocations: 7.938 kB / 3.236 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005346/6.862, allocations: 424.7 kB / 3.236 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007281/6.863, allocations: 0.8295 MB / 3.237 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/6.863, allocations: 112.9 kB / 3.237 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/6.863, allocations: 4 kB / 3.237 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/6.864, allocations: 15.95 kB / 3.237 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/6.864, allocations: 19.98 kB / 3.237 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/6.864, allocations: 8 kB / 3.237 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001173/6.864, allocations: 127.2 kB / 3.238 GB, free: 119 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001787/6.866, allocations: 203.8 kB / 3.238 GB, free: 118.8 MB / 0.9323 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.001518/6.867, allocations: 1.005 MB / 3.239 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005264/6.868, allocations: 171.8 kB / 3.239 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/6.868, allocations: 4.125 kB / 3.239 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/6.868, allocations: 103.8 kB / 3.239 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/6.869, allocations: 64.38 kB / 3.239 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/6.87, allocations: 321.7 kB / 3.239 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/6.87, allocations: 0.7896 MB / 3.24 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.212e-06/6.87, allocations: 0 / 3.24 GB, free: 116.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)