Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001258/0.001258, allocations: 181.3 kB / 366.3 MB, free: 1.957 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.662/1.662, allocations: 205.1 MB / 0.6256 GB, free: 5.891 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.0009593/0.0009585, allocations: 89.66 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.329/0.33, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/1.135, allocations: 116.3 MB / 0.9726 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.356/5.491, allocations: 2.062 GB / 3.035 GB, free: 13.72 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/5.491, allocations: 83.89 kB / 3.035 GB, free: 13.64 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.9968/6.488, allocations: 220.1 MB / 3.25 GB, free: 176.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/6.488, allocations: 8 kB / 3.25 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/6.489, allocations: 63.58 kB / 3.25 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/6.489, allocations: 309.4 kB / 3.25 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/6.489, allocations: 4 kB / 3.25 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/6.489, allocations: 12 kB / 3.25 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001778/6.489, allocations: 83.92 kB / 3.25 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/6.489, allocations: 168 kB / 3.251 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/6.489, allocations: 0 / 3.251 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/6.49, allocations: 4 kB / 3.251 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/6.49, allocations: 4 kB / 3.251 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/6.49, allocations: 0.7505 MB / 3.251 GB, free: 174.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/6.491, allocations: 66.5 kB / 3.251 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/6.491, allocations: 56.91 kB / 3.251 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/6.491, allocations: 186.2 kB / 3.252 GB, free: 174.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/6.491, allocations: 38.56 kB / 3.252 GB, free: 174.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/6.491, allocations: 0 / 3.252 GB, free: 174.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.000481/6.492, allocations: 145.5 kB / 3.252 GB, free: 174.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/6.492, allocations: 51.41 kB / 3.252 GB, free: 174.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/6.492, allocations: 184.3 kB / 3.252 GB, free: 174.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/6.492, allocations: 25.7 kB / 3.252 GB, free: 174 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/6.492, allocations: 132.1 kB / 3.252 GB, free: 173.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/6.492, allocations: 35.55 kB / 3.252 GB, free: 173.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/6.492, allocations: 0 / 3.252 GB, free: 173.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/6.492, allocations: 330.8 kB / 3.252 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/6.492, allocations: 24.09 kB / 3.253 GB, free: 173.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/6.492, allocations: 94.7 kB / 3.253 GB, free: 173.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/6.492, allocations: 43.97 kB / 3.253 GB, free: 173.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/6.492, allocations: 0 / 3.253 GB, free: 173.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001819/6.493, allocations: 121.3 kB / 3.253 GB, free: 173.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/6.493, allocations: 359.9 kB / 3.253 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/6.493, allocations: 0 / 3.253 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/6.493, allocations: 0 / 3.253 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/6.493, allocations: 31.92 kB / 3.253 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/6.493, allocations: 4 kB / 3.253 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/6.493, allocations: 27.91 kB / 3.253 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/6.493, allocations: 4 kB / 3.253 GB, free: 172.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.75e-06/6.493, allocations: 4 kB / 3.253 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001188/6.493, allocations: 76.02 kB / 3.253 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/6.493, allocations: 0 / 3.253 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-06/6.493, allocations: 7.969 kB / 3.253 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/6.493, allocations: 31.89 kB / 3.253 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-06/6.493, allocations: 0 / 3.253 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/6.494, allocations: 15.98 kB / 3.253 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/6.494, allocations: 15.98 kB / 3.253 GB, free: 172.6 MB / 0.948 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 7.467e-05/6.494, allocations: 104.9 kB / 3.253 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/6.494, allocations: 27.72 kB / 3.253 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/6.494, allocations: 123.3 kB / 3.254 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/6.494, allocations: 0 / 3.254 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/6.494, allocations: 0 / 3.254 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/6.494, allocations: 3.906 kB / 3.254 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/6.495, allocations: 0.5201 MB / 3.254 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/6.495, allocations: 7.938 kB / 3.254 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/6.495, allocations: 28.2 kB / 3.254 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/6.495, allocations: 0 / 3.254 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/6.495, allocations: 4 kB / 3.254 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/6.495, allocations: 4 kB / 3.254 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/6.495, allocations: 288 / 3.254 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002315/6.495, allocations: 349 kB / 3.254 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004737/6.495, allocations: 0.7515 MB / 3.255 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/6.496, allocations: 108.8 kB / 3.255 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/6.496, allocations: 0 / 3.255 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/6.496, allocations: 15.98 kB / 3.255 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/6.496, allocations: 19.89 kB / 3.255 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/6.496, allocations: 8 kB / 3.255 GB, free: 170.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001009/6.496, allocations: 148.5 kB / 3.255 GB, free: 170.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002199/6.498, allocations: 351.7 kB / 3.256 GB, free: 169.8 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 (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.001306/6.5, allocations: 1.031 MB / 3.257 GB, free: 168.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002468/6.5, allocations: 129.1 kB / 3.257 GB, free: 168.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/6.5, allocations: 0 / 3.257 GB, free: 168.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/6.5, allocations: 51.86 kB / 3.257 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/6.501, allocations: 96.41 kB / 3.257 GB, free: 168.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/6.501, allocations: 293.8 kB / 3.257 GB, free: 168.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/6.501, allocations: 0.7867 MB / 3.258 GB, free: 167.4 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/6.501, allocations: 4 kB / 3.258 GB, free: 167.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)