Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001476/0.001476, allocations: 185.3 kB / 366.3 MB, free: 2.012 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.788/1.788, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0009478/0.0009474, allocations: 87.73 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3302/0.3312, allocations: 122.4 MB / 0.8591 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8429/1.174, allocations: 116.3 MB / 0.9726 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.382/5.556, allocations: 2.06 GB / 3.032 GB, free: 49.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/5.556, allocations: 81.31 kB / 3.033 GB, free: 49.56 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.9358/6.492, allocations: 215.2 MB / 3.243 GB, free: 215.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/6.492, allocations: 12 kB / 3.243 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/6.492, allocations: 51.67 kB / 3.243 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/6.493, allocations: 279.5 kB / 3.243 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/6.493, allocations: 8 kB / 3.243 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/6.493, allocations: 11.94 kB / 3.243 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002758/6.493, allocations: 172.3 kB / 3.243 GB, free: 215.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/6.493, allocations: 194.9 kB / 3.243 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/6.494, allocations: 0 / 3.243 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/6.494, allocations: 0 / 3.243 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/6.494, allocations: 20 kB / 3.243 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/6.495, allocations: 0.8267 MB / 3.244 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/6.495, allocations: 118.5 kB / 3.244 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/6.495, allocations: 100.8 kB / 3.244 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/6.495, allocations: 206 kB / 3.245 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/6.495, allocations: 34.47 kB / 3.245 GB, free: 213.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.724e-06/6.495, allocations: 0 / 3.245 GB, free: 213.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0005565/6.496, allocations: 223.5 kB / 3.245 GB, free: 213.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/6.496, allocations: 51.41 kB / 3.245 GB, free: 213.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/6.496, allocations: 158.7 kB / 3.245 GB, free: 213.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/6.496, allocations: 25.7 kB / 3.245 GB, free: 213.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/6.496, allocations: 128.1 kB / 3.245 GB, free: 213 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/6.496, allocations: 55.2 kB / 3.245 GB, free: 212.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/6.496, allocations: 0 / 3.245 GB, free: 212.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/6.496, allocations: 326.8 kB / 3.246 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/6.496, allocations: 67.97 kB / 3.246 GB, free: 212.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/6.497, allocations: 116.2 kB / 3.246 GB, free: 212.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.619e-05/6.497, allocations: 76.14 kB / 3.246 GB, free: 212.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/6.497, allocations: 0 / 3.246 GB, free: 212.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00033/6.497, allocations: 212.3 kB / 3.246 GB, free: 212.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/6.497, allocations: 4 kB / 3.246 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/6.497, allocations: 0 / 3.246 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/6.497, allocations: 8.062 kB / 3.246 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/6.497, allocations: 35.97 kB / 3.246 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/6.498, allocations: 0 / 3.246 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/6.498, allocations: 23.83 kB / 3.246 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/6.498, allocations: 11.98 kB / 3.246 GB, free: 212.1 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 6.723e-05/6.498, allocations: 108.9 kB / 3.246 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/6.498, allocations: 23.7 kB / 3.246 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/6.498, allocations: 25.45 kB / 3.246 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/6.498, allocations: 4 kB / 3.246 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/6.498, allocations: 0 / 3.246 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/6.498, allocations: 0 / 3.246 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/6.499, allocations: 0.6528 MB / 3.247 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/6.499, allocations: 0 / 3.247 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/6.499, allocations: 44.19 kB / 3.247 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/6.499, allocations: 4 kB / 3.247 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/6.499, allocations: 7.906 kB / 3.247 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/6.499, allocations: 7.922 kB / 3.247 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/6.499, allocations: 7.938 kB / 3.247 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003318/6.5, allocations: 421.2 kB / 3.247 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004717/6.5, allocations: 0.8217 MB / 3.248 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/6.5, allocations: 116.9 kB / 3.248 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/6.5, allocations: 0 / 3.248 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/6.501, allocations: 23.95 kB / 3.248 GB, free: 209.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/6.501, allocations: 11.98 kB / 3.248 GB, free: 209.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/6.501, allocations: 12 kB / 3.248 GB, free: 209.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.666e-05/6.501, allocations: 127.3 kB / 3.249 GB, free: 209.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00137/6.502, allocations: 203.8 kB / 3.249 GB, free: 209.2 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.001473/6.504, allocations: 1.02 MB / 3.25 GB, free: 208.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002956/6.504, allocations: 167.8 kB / 3.25 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/6.504, allocations: 8.062 kB / 3.25 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/6.504, allocations: 95.83 kB / 3.25 GB, free: 207.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/6.505, allocations: 79.08 kB / 3.25 GB, free: 207.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/6.505, allocations: 313.9 kB / 3.25 GB, free: 207.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/6.505, allocations: 0.7897 MB / 3.251 GB, free: 206.7 MB / 0.948 GB Notification: Performance of SimCode: time 3.5e-07/6.505, allocations: 0 / 3.251 GB, free: 206.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)