Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.LosslessPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.368/1.368, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001061/0.001061, allocations: 189.3 kB / 361.1 MB, free: 7.098 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.167/1.167, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008067/0.0008066, allocations: 93.12 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2024/0.2033, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.6883, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.106/3.794, allocations: 2.059 GB / 3.023 GB, free: 55.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/3.794, allocations: 84.81 kB / 3.023 GB, free: 55.33 MB / 0.948 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.6834/4.478, allocations: 215.2 MB / 3.233 GB, free: 229.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/4.478, allocations: 8.5 kB / 3.233 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/4.478, allocations: 51.67 kB / 3.233 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/4.479, allocations: 291.1 kB / 3.233 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/4.479, allocations: 4 kB / 3.233 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/4.479, allocations: 12 kB / 3.233 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002662/4.479, allocations: 172.2 kB / 3.233 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/4.479, allocations: 206.4 kB / 3.234 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/4.479, allocations: 0 / 3.234 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/4.479, allocations: 0 / 3.234 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/4.479, allocations: 8 kB / 3.234 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/4.48, allocations: 0.8285 MB / 3.234 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/4.48, allocations: 122.5 kB / 3.235 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/4.481, allocations: 104.8 kB / 3.235 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/4.481, allocations: 190.2 kB / 3.235 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/4.481, allocations: 34.56 kB / 3.235 GB, free: 227.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.933e-06/4.481, allocations: 0 / 3.235 GB, free: 227.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0004991/4.481, allocations: 233.5 kB / 3.235 GB, free: 227.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.384e-05/4.481, allocations: 55.41 kB / 3.235 GB, free: 227.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/4.481, allocations: 153.8 kB / 3.235 GB, free: 226.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/4.482, allocations: 29.7 kB / 3.235 GB, free: 226.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/4.482, allocations: 124.2 kB / 3.235 GB, free: 226.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/4.482, allocations: 47.3 kB / 3.235 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/4.482, allocations: 0 / 3.235 GB, free: 226.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/4.482, allocations: 338.7 kB / 3.236 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/4.482, allocations: 63.97 kB / 3.236 GB, free: 226.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/4.482, allocations: 112.2 kB / 3.236 GB, free: 226.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/4.482, allocations: 76.52 kB / 3.236 GB, free: 226.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/4.482, allocations: 0 / 3.236 GB, free: 226.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002649/4.482, allocations: 216.8 kB / 3.236 GB, free: 225.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/4.482, allocations: 6.969 kB / 3.236 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/4.482, allocations: 8 kB / 3.236 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/4.482, allocations: 0 / 3.236 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/4.483, allocations: 43.91 kB / 3.236 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/4.483, allocations: 4 kB / 3.236 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/4.483, allocations: 23.89 kB / 3.236 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/4.483, allocations: 11.98 kB / 3.236 GB, free: 225.8 MB / 0.948 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 5.899e-05/4.483, allocations: 105 kB / 3.236 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/4.483, allocations: 19.75 kB / 3.236 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/4.483, allocations: 29.36 kB / 3.236 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/4.483, allocations: 0 / 3.236 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/4.483, allocations: 4 kB / 3.236 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/4.483, allocations: 0 / 3.236 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/4.484, allocations: 0.6451 MB / 3.237 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/4.484, allocations: 4 kB / 3.237 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/4.484, allocations: 43.91 kB / 3.237 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/4.484, allocations: 0 / 3.237 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/4.484, allocations: 4 kB / 3.237 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/4.484, allocations: 4 kB / 3.237 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/4.484, allocations: 3.906 kB / 3.237 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002797/4.484, allocations: 429.3 kB / 3.238 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003908/4.485, allocations: 0.8256 MB / 3.238 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/4.485, allocations: 116.8 kB / 3.239 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/4.485, allocations: 4 kB / 3.239 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/4.485, allocations: 19.98 kB / 3.239 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/4.485, allocations: 11.89 kB / 3.239 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/4.485, allocations: 4 kB / 3.239 GB, free: 223.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.881e-05/4.485, allocations: 132.2 kB / 3.239 GB, free: 223.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001109/4.486, allocations: 203.8 kB / 3.239 GB, free: 223 MB / 0.948 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.0009825/4.487, allocations: 1.017 MB / 3.24 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002383/4.487, allocations: 177.3 kB / 3.24 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/4.487, allocations: 0 / 3.24 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/4.488, allocations: 87.89 kB / 3.24 GB, free: 221.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/4.488, allocations: 83.2 kB / 3.24 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/4.489, allocations: 317.2 kB / 3.24 GB, free: 221.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/4.489, allocations: 0.7935 MB / 3.241 GB, free: 220.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/4.489, allocations: 4 kB / 3.241 GB, free: 220.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)