Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.431/1.431, allocations: 285.5 MB / 292.8 MB, free: 9.84 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.0009649/0.000965, allocations: 185.2 kB / 361.1 MB, free: 360 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.2 MB / 0.6195 GB, free: 2.848 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000979/0.0009791, allocations: 97.02 kB / 0.7326 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4814/0.4824, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.6802, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.69/4.37, allocations: 2.061 GB / 3.025 GB, free: 300.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/4.37, allocations: 81.55 kB / 3.025 GB, free: 300.4 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.3868/4.757, allocations: 220.1 MB / 3.24 GB, free: 75.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/4.757, allocations: 8 kB / 3.24 GB, free: 75.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/4.757, allocations: 59.56 kB / 3.24 GB, free: 75.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/4.758, allocations: 313.4 kB / 3.24 GB, free: 75.13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/4.758, allocations: 4 kB / 3.24 GB, free: 75.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/4.758, allocations: 8 kB / 3.24 GB, free: 75.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000177/4.758, allocations: 95.91 kB / 3.241 GB, free: 75.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/4.758, allocations: 152.2 kB / 3.241 GB, free: 74.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/4.758, allocations: 0 / 3.241 GB, free: 74.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/4.759, allocations: 7.984 kB / 3.241 GB, free: 74.85 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/4.759, allocations: 0 / 3.241 GB, free: 74.85 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/4.759, allocations: 0.7572 MB / 3.241 GB, free: 74.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/4.76, allocations: 62.56 kB / 3.242 GB, free: 73.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.436e-05/4.76, allocations: 60.88 kB / 3.242 GB, free: 73.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/4.76, allocations: 190.2 kB / 3.242 GB, free: 73.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/4.76, allocations: 34.69 kB / 3.242 GB, free: 73.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/4.76, allocations: 0 / 3.242 GB, free: 73.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004766/4.761, allocations: 141.3 kB / 3.242 GB, free: 73.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/4.761, allocations: 55.39 kB / 3.242 GB, free: 73.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/4.761, allocations: 184.3 kB / 3.242 GB, free: 73.24 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/4.761, allocations: 29.7 kB / 3.242 GB, free: 73.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/4.761, allocations: 124.3 kB / 3.242 GB, free: 73.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/4.761, allocations: 35.41 kB / 3.242 GB, free: 73.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/4.761, allocations: 0 / 3.242 GB, free: 73.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/4.761, allocations: 330.8 kB / 3.243 GB, free: 72.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/4.761, allocations: 35.86 kB / 3.243 GB, free: 72.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/4.761, allocations: 94.92 kB / 3.243 GB, free: 72.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/4.761, allocations: 39.95 kB / 3.243 GB, free: 72.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/4.761, allocations: 0 / 3.243 GB, free: 72.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/4.761, allocations: 121.3 kB / 3.243 GB, free: 72.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.068e-05/4.761, allocations: 364 kB / 3.243 GB, free: 72.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/4.761, allocations: 0 / 3.243 GB, free: 72.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/4.761, allocations: 3.906 kB / 3.243 GB, free: 72.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/4.762, allocations: 27.98 kB / 3.243 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/4.762, allocations: 7.984 kB / 3.243 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/4.762, allocations: 15.98 kB / 3.243 GB, free: 71.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/4.762, allocations: 4 kB / 3.243 GB, free: 71.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/4.762, allocations: 4 kB / 3.243 GB, free: 71.95 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001184/4.762, allocations: 75.89 kB / 3.243 GB, free: 71.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/4.762, allocations: 0 / 3.243 GB, free: 71.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/4.762, allocations: 4 kB / 3.243 GB, free: 71.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/4.762, allocations: 31.92 kB / 3.243 GB, free: 71.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-06/4.762, allocations: 0 / 3.243 GB, free: 71.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/4.762, allocations: 27.91 kB / 3.243 GB, free: 71.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/4.762, allocations: 12 kB / 3.243 GB, free: 71.8 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 6.323e-05/4.762, allocations: 104.9 kB / 3.244 GB, free: 71.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/4.762, allocations: 23.72 kB / 3.244 GB, free: 71.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/4.763, allocations: 119.3 kB / 3.244 GB, free: 71.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/4.763, allocations: 0 / 3.244 GB, free: 71.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/4.763, allocations: 4 kB / 3.244 GB, free: 71.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/4.763, allocations: 7.984 kB / 3.244 GB, free: 71.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/4.763, allocations: 0.5163 MB / 3.244 GB, free: 70.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/4.763, allocations: 4 kB / 3.244 GB, free: 70.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/4.763, allocations: 27.98 kB / 3.244 GB, free: 70.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/4.763, allocations: 4 kB / 3.244 GB, free: 70.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/4.763, allocations: 0 / 3.244 GB, free: 70.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/4.763, allocations: 7.938 kB / 3.244 GB, free: 70.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/4.763, allocations: 0 / 3.244 GB, free: 70.91 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002091/4.764, allocations: 349.7 kB / 3.245 GB, free: 70.49 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003797/4.764, allocations: 0.7398 MB / 3.245 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/4.764, allocations: 116.7 kB / 3.245 GB, free: 69.53 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/4.764, allocations: 0 / 3.245 GB, free: 69.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/4.764, allocations: 27.97 kB / 3.245 GB, free: 69.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/4.764, allocations: 11.91 kB / 3.245 GB, free: 69.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/4.764, allocations: 7.984 kB / 3.245 GB, free: 69.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.411e-05/4.765, allocations: 152.5 kB / 3.246 GB, free: 69.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002141/4.767, allocations: 339.7 kB / 3.246 GB, free: 69 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.001278/4.768, allocations: 1.052 MB / 3.247 GB, free: 67.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002457/4.768, allocations: 117.2 kB / 3.247 GB, free: 67.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/4.768, allocations: 4 kB / 3.247 GB, free: 67.83 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/4.768, allocations: 43.92 kB / 3.247 GB, free: 67.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/4.769, allocations: 97.77 kB / 3.247 GB, free: 67.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/4.77, allocations: 297.8 kB / 3.248 GB, free: 67.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/4.77, allocations: 0.7829 MB / 3.248 GB, free: 66.55 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/4.77, allocations: 0 / 3.248 GB, free: 66.55 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)