Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 188.5 kB / 7.802 MB, free: 2.477 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4826/0.4826, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 92.05 kB / 415.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1843/0.1853, allocations: 78.44 MB / 493.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.6045, allocations: 72.3 MB / 0.553 GB, free: 44.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.722/4.327, allocations: 1.82 GB / 2.373 GB, free: 241.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/4.327, allocations: 84.84 kB / 2.374 GB, free: 241.5 MB / 0.6042 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.4162/4.743, allocations: 222.2 MB / 2.591 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/4.744, allocations: 8 kB / 2.591 GB, free: 18.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/4.744, allocations: 55.66 kB / 2.591 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/4.745, allocations: 309.4 kB / 2.591 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/4.745, allocations: 4 kB / 2.591 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/4.745, allocations: 12 kB / 2.591 GB, free: 17.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001934/4.745, allocations: 87.88 kB / 2.591 GB, free: 17.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/4.745, allocations: 152.2 kB / 2.591 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/4.745, allocations: 3.938 kB / 2.591 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/4.745, allocations: 0 / 2.591 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/4.745, allocations: 8 kB / 2.591 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/4.746, allocations: 0.7473 MB / 2.592 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/4.746, allocations: 74.39 kB / 2.592 GB, free: 16.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/4.747, allocations: 56.91 kB / 2.592 GB, free: 16.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/4.747, allocations: 194.2 kB / 2.592 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/4.747, allocations: 30.56 kB / 2.592 GB, free: 16.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.522e-06/4.747, allocations: 4 kB / 2.592 GB, free: 16.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004948/4.747, allocations: 141.6 kB / 2.592 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/4.747, allocations: 51.41 kB / 2.592 GB, free: 16.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/4.748, allocations: 192.2 kB / 2.593 GB, free: 16.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/4.748, allocations: 25.7 kB / 2.593 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/4.748, allocations: 124.3 kB / 2.593 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/4.748, allocations: 43.33 kB / 2.593 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/4.748, allocations: 4 kB / 2.593 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/4.748, allocations: 326.8 kB / 2.593 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/4.748, allocations: 27.98 kB / 2.593 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/4.748, allocations: 78.86 kB / 2.593 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/4.748, allocations: 51.91 kB / 2.593 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/4.748, allocations: 0 / 2.593 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/4.748, allocations: 117.4 kB / 2.593 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.858e-05/4.748, allocations: 367.9 kB / 2.594 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/4.748, allocations: 0 / 2.594 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/4.748, allocations: 0 / 2.594 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/4.748, allocations: 23.98 kB / 2.594 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/4.748, allocations: 4 kB / 2.594 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/4.749, allocations: 23.89 kB / 2.594 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/4.749, allocations: 11.94 kB / 2.594 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/4.749, allocations: 4 kB / 2.594 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001249/4.749, allocations: 71.89 kB / 2.594 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-06/4.749, allocations: 0 / 2.594 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/4.749, allocations: 4 kB / 2.594 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/4.749, allocations: 28.02 kB / 2.594 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/4.749, allocations: 0 / 2.594 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/4.749, allocations: 27.81 kB / 2.594 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/4.749, allocations: 8 kB / 2.594 GB, free: 14.59 MB / 0.6042 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.812e-05/4.749, allocations: 108.9 kB / 2.594 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/4.749, allocations: 27.72 kB / 2.594 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/4.75, allocations: 119.6 kB / 2.594 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/4.75, allocations: 0 / 2.594 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/4.75, allocations: 0 / 2.594 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/4.75, allocations: 7.922 kB / 2.594 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/4.75, allocations: 0.5124 MB / 2.595 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/4.75, allocations: 4 kB / 2.595 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/4.75, allocations: 32.42 kB / 2.595 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/4.75, allocations: 4 kB / 2.595 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/4.75, allocations: 3.906 kB / 2.595 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/4.75, allocations: 7.938 kB / 2.595 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/4.75, allocations: 7.922 kB / 2.595 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002169/4.751, allocations: 345.1 kB / 2.595 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003788/4.751, allocations: 0.7398 MB / 2.596 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/4.751, allocations: 112.8 kB / 2.596 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/4.751, allocations: 3.984 kB / 2.596 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/4.751, allocations: 19.92 kB / 2.596 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/4.751, allocations: 19.98 kB / 2.596 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/4.751, allocations: 7.906 kB / 2.596 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.515e-05/4.751, allocations: 148.5 kB / 2.596 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002032/4.754, allocations: 343.8 kB / 2.596 GB, free: 11.79 MB / 0.6042 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.001378/4.755, allocations: 1.036 MB / 2.597 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002525/4.755, allocations: 125.1 kB / 2.598 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/4.755, allocations: 4 kB / 2.598 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/4.755, allocations: 51.86 kB / 2.598 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/4.756, allocations: 95.22 kB / 2.598 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/4.756, allocations: 293.9 kB / 2.598 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/4.757, allocations: 0.779 MB / 2.599 GB, free: 9.355 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/4.757, allocations: 4 kB / 2.599 GB, free: 9.352 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)