Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001278/0.001278, allocations: 177.3 kB / 487 MB, free: 5.359 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.431/1.431, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009526, allocations: 111.8 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6145/0.6155, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.8868, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.938/4.825, allocations: 1.865 GB / 3.07 GB, free: 438.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/4.825, allocations: 84.38 kB / 3.07 GB, free: 438.1 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.421/5.246, allocations: 217.4 MB / 3.282 GB, free: 243.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/5.246, allocations: 13 kB / 3.282 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/5.246, allocations: 47.67 kB / 3.282 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/5.247, allocations: 286.5 kB / 3.283 GB, free: 242.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/5.247, allocations: 7.984 kB / 3.283 GB, free: 242.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/5.247, allocations: 12 kB / 3.283 GB, free: 242.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002555/5.247, allocations: 148 kB / 3.283 GB, free: 242.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/5.248, allocations: 202.1 kB / 3.283 GB, free: 242.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/5.248, allocations: 3.906 kB / 3.283 GB, free: 242.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/5.248, allocations: 0 / 3.283 GB, free: 242.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/5.248, allocations: 12.33 kB / 3.283 GB, free: 242.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/5.249, allocations: 0.8426 MB / 3.284 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/5.249, allocations: 130.5 kB / 3.284 GB, free: 241.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/5.249, allocations: 96.81 kB / 3.284 GB, free: 241.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/5.25, allocations: 194.2 kB / 3.284 GB, free: 241.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/5.25, allocations: 30.56 kB / 3.284 GB, free: 241.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/5.25, allocations: 4 kB / 3.284 GB, free: 241.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005424/5.25, allocations: 226.6 kB / 3.284 GB, free: 240.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/5.25, allocations: 55.41 kB / 3.284 GB, free: 240.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/5.25, allocations: 150.4 kB / 3.285 GB, free: 240.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/5.25, allocations: 25.7 kB / 3.285 GB, free: 240.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/5.25, allocations: 132.1 kB / 3.285 GB, free: 240.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/5.25, allocations: 47.3 kB / 3.285 GB, free: 240.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/5.25, allocations: 4 kB / 3.285 GB, free: 240.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/5.25, allocations: 322.8 kB / 3.285 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/5.251, allocations: 71.95 kB / 3.285 GB, free: 240 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/5.251, allocations: 116.2 kB / 3.285 GB, free: 239.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.531e-05/5.251, allocations: 72.44 kB / 3.285 GB, free: 239.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/5.251, allocations: 4 kB / 3.285 GB, free: 239.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002741/5.251, allocations: 203.6 kB / 3.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/5.251, allocations: 9.875 kB / 3.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/5.251, allocations: 7.922 kB / 3.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/5.251, allocations: 3.906 kB / 3.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/5.251, allocations: 35.97 kB / 3.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/5.251, allocations: 3.938 kB / 3.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/5.252, allocations: 20.05 kB / 3.286 GB, free: 239.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/5.252, allocations: 11.98 kB / 3.286 GB, free: 239.5 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 9.432e-05/5.252, allocations: 104.9 kB / 3.286 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/5.252, allocations: 15.81 kB / 3.286 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/5.252, allocations: 25.47 kB / 3.286 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/5.252, allocations: 4 kB / 3.286 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/5.252, allocations: 0 / 3.286 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/5.252, allocations: 3.984 kB / 3.286 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/5.253, allocations: 0.6605 MB / 3.286 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/5.253, allocations: 4 kB / 3.286 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/5.253, allocations: 39.95 kB / 3.287 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/5.253, allocations: 4 kB / 3.287 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/5.253, allocations: 7.938 kB / 3.287 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/5.253, allocations: 4.219 kB / 3.287 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/5.253, allocations: 4 kB / 3.287 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003198/5.253, allocations: 429 kB / 3.287 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000496/5.254, allocations: 0.8219 MB / 3.288 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/5.254, allocations: 112.8 kB / 3.288 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/5.254, allocations: 7.984 kB / 3.288 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/5.254, allocations: 19.92 kB / 3.288 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/5.254, allocations: 8 kB / 3.288 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/5.254, allocations: 11.98 kB / 3.288 GB, free: 237 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.114e-05/5.254, allocations: 128 kB / 3.288 GB, free: 236.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001242/5.256, allocations: 203.8 kB / 3.288 GB, free: 236.7 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.001381/5.257, allocations: 1.03 MB / 3.289 GB, free: 235.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000283/5.257, allocations: 171.8 kB / 3.289 GB, free: 235.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/5.257, allocations: 4 kB / 3.289 GB, free: 235.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/5.257, allocations: 91.88 kB / 3.289 GB, free: 235.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/5.258, allocations: 84.28 kB / 3.29 GB, free: 235.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/5.259, allocations: 316.8 kB / 3.29 GB, free: 235 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/5.259, allocations: 0.7897 MB / 3.291 GB, free: 234.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.21e-07/5.259, allocations: 3.938 kB / 3.291 GB, free: 234.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)