Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.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.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",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.001446/0.001446, allocations: 188.8 kB / 7.8 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4755/0.4755, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.313/1.313, allocations: 221.4 MB / 342.7 MB, free: 5.004 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.0009987/0.0009987, allocations: 97.31 kB / 415.5 MB, free: 6.285 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1898/0.1909, allocations: 78.45 MB / 494 MB, free: 7.836 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.638, allocations: 72.29 MB / 0.553 GB, free: 72.93 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.729/4.367, allocations: 1.878 GB / 2.431 GB, free: 197.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/4.367, allocations: 87.95 kB / 2.431 GB, free: 197.1 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 1.442/5.809, allocations: 492.3 MB / 2.912 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/5.809, allocations: 11.66 kB / 2.912 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/5.811, allocations: 289.4 kB / 2.912 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/5.813, allocations: 0.6352 MB / 2.913 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/5.813, allocations: 14.81 kB / 2.913 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/5.813, allocations: 38.09 kB / 2.913 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007264/5.813, allocations: 0.4901 MB / 2.914 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/5.814, allocations: 0.5561 MB / 2.914 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/5.814, allocations: 0 / 2.914 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/5.814, allocations: 6.594 kB / 2.914 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/5.814, allocations: 20.34 kB / 2.914 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/5.817, allocations: 2.546 MB / 2.917 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/5.817, allocations: 262.5 kB / 2.917 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/5.818, allocations: 233.8 kB / 2.917 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005384/5.818, allocations: 480.3 kB / 2.917 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/5.818, allocations: 40.05 kB / 2.918 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.174e-06/5.818, allocations: 0 / 2.918 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.001264/5.82, allocations: 485.1 kB / 2.918 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/5.82, allocations: 55.31 kB / 2.918 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/5.82, allocations: 365.7 kB / 2.918 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/5.82, allocations: 25.7 kB / 2.918 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/5.82, allocations: 251.1 kB / 2.919 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/5.82, allocations: 143.7 kB / 2.919 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/5.82, allocations: 0 / 2.919 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001092/5.82, allocations: 365.1 kB / 2.919 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/5.821, allocations: 144.7 kB / 2.919 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/5.821, allocations: 253.4 kB / 2.92 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/5.821, allocations: 221.4 kB / 2.92 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/5.821, allocations: 2.625 kB / 2.92 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00071/5.822, allocations: 486.1 kB / 2.92 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/5.822, allocations: 0.877 MB / 2.921 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/5.822, allocations: 8.969 kB / 2.921 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/5.822, allocations: 5.625 kB / 2.921 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/5.823, allocations: 110.8 kB / 2.921 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003284/5.823, allocations: 0.6026 MB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/5.824, allocations: 72.8 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/5.824, allocations: 21.5 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/5.824, allocations: 3.812 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006246/5.825, allocations: 406.1 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/5.825, allocations: 3.875 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/5.825, allocations: 11.34 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/5.825, allocations: 104.5 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/5.825, allocations: 7.188 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/5.825, allocations: 66.36 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/5.826, allocations: 25.81 kB / 2.922 GB, free: 110.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/5.826, allocations: 120.8 kB / 2.923 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/5.826, allocations: 54.47 kB / 2.923 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007215/5.826, allocations: 462 kB / 2.923 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/5.826, allocations: 3.719 kB / 2.923 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/5.826, allocations: 3.375 kB / 2.923 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005777/5.827, allocations: 0.6819 MB / 2.924 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/5.829, allocations: 1.201 MB / 2.925 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/5.829, allocations: 7.875 kB / 2.925 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/5.829, allocations: 116.1 kB / 2.925 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/5.829, allocations: 7.719 kB / 2.925 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/5.829, allocations: 6.031 kB / 2.925 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002035/5.83, allocations: 0.5982 MB / 2.926 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/5.83, allocations: 2.531 kB / 2.926 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00092/5.83, allocations: 0.8824 MB / 2.926 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001476/5.832, allocations: 1.545 MB / 2.928 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/5.832, allocations: 174.2 kB / 2.928 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/5.832, allocations: 4.062 kB / 2.928 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/5.833, allocations: 49.39 kB / 2.928 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/5.833, allocations: 33.11 kB / 2.928 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/5.833, allocations: 18.09 kB / 2.928 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002868/5.833, allocations: 281.1 kB / 2.929 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002717/5.836, allocations: 0.7565 MB / 2.929 GB, free: 107.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001729/5.838, allocations: 1.561 MB / 2.931 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00112/5.839, allocations: 0.6147 MB / 2.931 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/5.839, allocations: 3.062 kB / 2.931 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/5.839, allocations: 205.6 kB / 2.932 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/5.841, allocations: 311.2 kB / 2.932 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/5.843, allocations: 1.105 MB / 2.933 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/5.843, allocations: 1.029 MB / 2.934 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/5.843, allocations: 2.312 kB / 2.934 GB, free: 105.7 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)