Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.469/2.469, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.002136/0.002136, allocations: 173.3 kB / 360.3 MB, free: 7.566 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.911/1.911, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001735/0.001735, allocations: 75.25 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3224/0.3242, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.9703, allocations: 115.2 MB / 0.9627 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.694/5.664, allocations: 2.061 GB / 3.024 GB, free: 56.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/5.664, allocations: 83.58 kB / 3.024 GB, free: 56.68 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 1.125/6.79, allocations: 220.1 MB / 3.239 GB, free: 227.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/6.79, allocations: 8.5 kB / 3.239 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/6.79, allocations: 59.56 kB / 3.239 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/6.791, allocations: 309.4 kB / 3.239 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/6.791, allocations: 4 kB / 3.239 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/6.791, allocations: 12 kB / 3.239 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002692/6.791, allocations: 83.97 kB / 3.239 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/6.791, allocations: 156.7 kB / 3.24 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/6.791, allocations: 3.938 kB / 3.24 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/6.792, allocations: 0 / 3.24 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/6.792, allocations: 8 kB / 3.24 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/6.793, allocations: 0.7513 MB / 3.24 GB, free: 225.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/6.793, allocations: 70.48 kB / 3.24 GB, free: 225.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/6.793, allocations: 56.91 kB / 3.24 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/6.794, allocations: 186.2 kB / 3.241 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/6.794, allocations: 38.56 kB / 3.241 GB, free: 225.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 3.176e-06/6.794, allocations: 4 kB / 3.241 GB, free: 225.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0006791/6.794, allocations: 149.4 kB / 3.241 GB, free: 225.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/6.794, allocations: 51.41 kB / 3.241 GB, free: 225.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/6.795, allocations: 188.3 kB / 3.241 GB, free: 225 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/6.795, allocations: 25.7 kB / 3.241 GB, free: 225 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/6.795, allocations: 124.2 kB / 3.241 GB, free: 224.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/6.795, allocations: 35.45 kB / 3.241 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/6.795, allocations: 4 kB / 3.241 GB, free: 224.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.749e-05/6.795, allocations: 326.8 kB / 3.241 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/6.795, allocations: 27.98 kB / 3.242 GB, free: 224.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/6.795, allocations: 82.8 kB / 3.242 GB, free: 224.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/6.795, allocations: 43.97 kB / 3.242 GB, free: 224.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.795, allocations: 0 / 3.242 GB, free: 224.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003231/6.796, allocations: 121.3 kB / 3.242 GB, free: 224.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/6.796, allocations: 364 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/6.796, allocations: 0 / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/6.796, allocations: 0 / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/6.796, allocations: 31.83 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/6.796, allocations: 4.281 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/6.796, allocations: 19.98 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/6.796, allocations: 4 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/6.796, allocations: 7.938 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001955/6.797, allocations: 76.06 kB / 3.242 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/6.797, allocations: 0 / 3.242 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/6.797, allocations: 4 kB / 3.242 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/6.797, allocations: 28.02 kB / 3.242 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/6.797, allocations: 0 / 3.242 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/6.797, allocations: 27.81 kB / 3.242 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/6.797, allocations: 8 kB / 3.242 GB, free: 223.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 8.256e-05/6.797, allocations: 116.7 kB / 3.242 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/6.797, allocations: 23.72 kB / 3.242 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/6.798, allocations: 127.3 kB / 3.243 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/6.798, allocations: 0 / 3.243 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/6.798, allocations: 4 kB / 3.243 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/6.798, allocations: 0 / 3.243 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/6.799, allocations: 0.5162 MB / 3.243 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/6.799, allocations: 7.938 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/6.799, allocations: 32.14 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/6.799, allocations: 0 / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/6.799, allocations: 4 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/6.799, allocations: 4 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/6.799, allocations: 3.984 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003089/6.799, allocations: 349.1 kB / 3.243 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000556/6.8, allocations: 0.7398 MB / 3.244 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/6.8, allocations: 112.8 kB / 3.244 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/6.8, allocations: 4.266 kB / 3.244 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/6.801, allocations: 15.98 kB / 3.244 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/6.801, allocations: 23.89 kB / 3.244 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/6.801, allocations: 7.938 kB / 3.244 GB, free: 221.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001663/6.801, allocations: 152.5 kB / 3.244 GB, free: 221.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0031/6.804, allocations: 347.7 kB / 3.245 GB, free: 220.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.001621/6.806, allocations: 1.022 MB / 3.246 GB, free: 219.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004387/6.806, allocations: 117.5 kB / 3.246 GB, free: 219.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/6.806, allocations: 12 kB / 3.246 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/6.806, allocations: 44.2 kB / 3.246 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/6.807, allocations: 100 kB / 3.246 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/6.808, allocations: 298.6 kB / 3.246 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/6.809, allocations: 0.7829 MB / 3.247 GB, free: 218.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.011e-06/6.809, allocations: 0 / 3.247 GB, free: 218.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)