Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.395/2.395, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 193.2 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.4 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 91.34 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7593/0.7604, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/1.068, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.817/5.885, allocations: 1.865 GB / 3.077 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/5.886, allocations: 86.11 kB / 3.077 GB, free: 435.5 MB / 1.151 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.446/6.332, allocations: 217.4 MB / 3.289 GB, free: 243.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/6.332, allocations: 12 kB / 3.289 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/6.332, allocations: 51.67 kB / 3.289 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/6.333, allocations: 294.8 kB / 3.29 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/6.333, allocations: 4 kB / 3.29 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/6.333, allocations: 15.94 kB / 3.29 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002658/6.333, allocations: 148 kB / 3.29 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/6.333, allocations: 201.4 kB / 3.29 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/6.333, allocations: 0 / 3.29 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/6.333, allocations: 3.938 kB / 3.29 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/6.333, allocations: 12.23 kB / 3.29 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/6.335, allocations: 0.8466 MB / 3.291 GB, free: 242.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/6.335, allocations: 126.4 kB / 3.291 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/6.335, allocations: 104.8 kB / 3.291 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/6.335, allocations: 186.2 kB / 3.291 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/6.335, allocations: 38.56 kB / 3.291 GB, free: 241.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/6.335, allocations: 0 / 3.291 GB, free: 241.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005889/6.336, allocations: 222.4 kB / 3.292 GB, free: 241.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/6.336, allocations: 59.34 kB / 3.292 GB, free: 241.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/6.336, allocations: 154.7 kB / 3.292 GB, free: 241.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/6.336, allocations: 25.7 kB / 3.292 GB, free: 241.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/6.336, allocations: 136.1 kB / 3.292 GB, free: 240.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/6.336, allocations: 39.36 kB / 3.292 GB, free: 240.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/6.336, allocations: 0 / 3.292 GB, free: 240.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/6.336, allocations: 326.8 kB / 3.292 GB, free: 240.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/6.337, allocations: 71.95 kB / 3.292 GB, free: 240.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/6.337, allocations: 112.2 kB / 3.292 GB, free: 240.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/6.337, allocations: 80.81 kB / 3.293 GB, free: 240.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/6.337, allocations: 0 / 3.293 GB, free: 240.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002976/6.337, allocations: 202.1 kB / 3.293 GB, free: 240.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/6.337, allocations: 8 kB / 3.293 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/6.337, allocations: 0 / 3.293 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/6.337, allocations: 3.938 kB / 3.293 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/6.337, allocations: 47.97 kB / 3.293 GB, free: 240 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/6.337, allocations: 7.891 kB / 3.293 GB, free: 240 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/6.338, allocations: 15.98 kB / 3.293 GB, free: 240 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/6.338, allocations: 11.98 kB / 3.293 GB, free: 240 MB / 1.151 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 8.489e-05/6.338, allocations: 101 kB / 3.293 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/6.338, allocations: 23.72 kB / 3.293 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/6.338, allocations: 29.45 kB / 3.293 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/6.338, allocations: 0 / 3.293 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/6.338, allocations: 0 / 3.293 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/6.338, allocations: 0 / 3.293 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008168/6.339, allocations: 0.6567 MB / 3.294 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/6.339, allocations: 4 kB / 3.294 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/6.339, allocations: 39.81 kB / 3.294 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/6.339, allocations: 4 kB / 3.294 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/6.339, allocations: 12.22 kB / 3.294 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/6.339, allocations: 4 kB / 3.294 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/6.339, allocations: 3.938 kB / 3.294 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003479/6.34, allocations: 426 kB / 3.294 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005483/6.34, allocations: 0.8271 MB / 3.295 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/6.34, allocations: 108.9 kB / 3.295 GB, free: 237.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/6.34, allocations: 7.906 kB / 3.295 GB, free: 237.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/6.34, allocations: 19.98 kB / 3.295 GB, free: 237.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/6.341, allocations: 15.97 kB / 3.295 GB, free: 237.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/6.341, allocations: 4 kB / 3.295 GB, free: 237.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.353e-05/6.341, allocations: 131.3 kB / 3.295 GB, free: 237.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001268/6.342, allocations: 203.8 kB / 3.295 GB, free: 237.2 MB / 1.151 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.001562/6.343, allocations: 1.024 MB / 3.296 GB, free: 236.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003003/6.344, allocations: 167.8 kB / 3.297 GB, free: 236 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/6.344, allocations: 4 kB / 3.297 GB, free: 236 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/6.344, allocations: 92.27 kB / 3.297 GB, free: 235.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/6.344, allocations: 88.19 kB / 3.297 GB, free: 235.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/6.345, allocations: 309.5 kB / 3.297 GB, free: 235.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/6.345, allocations: 0.7897 MB / 3.298 GB, free: 234.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/6.345, allocations: 0 / 3.298 GB, free: 234.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)