Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.056/2.056, 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.001124/0.001124, allocations: 173.3 kB / 487 MB, free: 5.344 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.381/1.381, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.001002/0.001002, allocations: 97.66 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6381/0.6392, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.9374, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.503/5.44, allocations: 1.867 GB / 3.072 GB, free: 432.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/5.44, allocations: 80.05 kB / 3.072 GB, free: 432.3 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.4028/5.843, allocations: 222.2 MB / 3.289 GB, free: 214.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/5.843, allocations: 9 kB / 3.289 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004252/5.844, allocations: 67.45 kB / 3.29 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/5.844, allocations: 313.4 kB / 3.29 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/5.844, allocations: 4 kB / 3.29 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/5.844, allocations: 12 kB / 3.29 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001888/5.844, allocations: 87.91 kB / 3.29 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/5.845, allocations: 161 kB / 3.29 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/5.845, allocations: 0 / 3.29 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/5.845, allocations: 0 / 3.29 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/5.845, allocations: 7.906 kB / 3.29 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/5.846, allocations: 0.7491 MB / 3.291 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/5.846, allocations: 66.56 kB / 3.291 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.487e-05/5.846, allocations: 56.91 kB / 3.291 GB, free: 212.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/5.846, allocations: 186.2 kB / 3.291 GB, free: 212.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/5.846, allocations: 38.69 kB / 3.291 GB, free: 212.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/5.846, allocations: 0 / 3.291 GB, free: 212.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004589/5.847, allocations: 141.3 kB / 3.291 GB, free: 212.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/5.847, allocations: 55.41 kB / 3.291 GB, free: 212.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/5.847, allocations: 184.3 kB / 3.291 GB, free: 212.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/5.847, allocations: 25.7 kB / 3.292 GB, free: 212.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/5.847, allocations: 132.1 kB / 3.292 GB, free: 212 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/5.847, allocations: 31.55 kB / 3.292 GB, free: 212 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/5.847, allocations: 0 / 3.292 GB, free: 212 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/5.847, allocations: 334.8 kB / 3.292 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/5.847, allocations: 27.94 kB / 3.292 GB, free: 211.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/5.847, allocations: 82.84 kB / 3.292 GB, free: 211.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.02e-05/5.847, allocations: 39.98 kB / 3.292 GB, free: 211.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/5.847, allocations: 4.188 kB / 3.292 GB, free: 211.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001706/5.848, allocations: 125.4 kB / 3.292 GB, free: 211.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.736e-05/5.848, allocations: 367.9 kB / 3.293 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/5.848, allocations: 3.938 kB / 3.293 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/5.848, allocations: 3.938 kB / 3.293 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/5.848, allocations: 23.98 kB / 3.293 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/5.848, allocations: 4 kB / 3.293 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/5.848, allocations: 27.97 kB / 3.293 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/5.848, allocations: 7.906 kB / 3.293 GB, free: 210.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/5.848, allocations: 6.656 kB / 3.293 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001149/5.848, allocations: 71.89 kB / 3.293 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/5.848, allocations: 0 / 3.293 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-06/5.848, allocations: 4 kB / 3.293 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/5.848, allocations: 31.95 kB / 3.293 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/5.848, allocations: 80 / 3.293 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/5.849, allocations: 19.92 kB / 3.293 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/5.849, allocations: 7.984 kB / 3.293 GB, free: 210.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.49e-05/5.849, allocations: 112.9 kB / 3.293 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/5.849, allocations: 23.8 kB / 3.293 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/5.849, allocations: 127.2 kB / 3.293 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/5.849, allocations: 0 / 3.293 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/5.849, allocations: 0 / 3.293 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/5.849, allocations: 0 / 3.293 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/5.85, allocations: 0.5201 MB / 3.294 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/5.85, allocations: 4 kB / 3.294 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/5.85, allocations: 32.19 kB / 3.294 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/5.85, allocations: 0 / 3.294 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/5.85, allocations: 4 kB / 3.294 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/5.85, allocations: 7.938 kB / 3.294 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/5.85, allocations: 0 / 3.294 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002154/5.85, allocations: 341.1 kB / 3.294 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003908/5.85, allocations: 0.7515 MB / 3.295 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/5.851, allocations: 108.9 kB / 3.295 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/5.851, allocations: 0 / 3.295 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/5.851, allocations: 23.83 kB / 3.295 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/5.851, allocations: 11.98 kB / 3.295 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/5.851, allocations: 12 kB / 3.295 GB, free: 208.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001034/5.851, allocations: 148.5 kB / 3.295 GB, free: 208.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002146/5.853, allocations: 347.7 kB / 3.295 GB, free: 207.9 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 (10): * Single equations (assignments): 10 * 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.001344/5.855, allocations: 1.029 MB / 3.296 GB, free: 206.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002476/5.855, allocations: 129.1 kB / 3.296 GB, free: 206.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/5.855, allocations: 4.125 kB / 3.296 GB, free: 206.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/5.855, allocations: 47.92 kB / 3.296 GB, free: 206.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/5.856, allocations: 93.64 kB / 3.297 GB, free: 206.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/5.856, allocations: 301.7 kB / 3.297 GB, free: 206.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/5.856, allocations: 0.779 MB / 3.298 GB, free: 205.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/5.856, allocations: 0 / 3.298 GB, free: 205.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)