Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.001271/0.001271, allocations: 190.5 kB / 7.807 MB, free: 2.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4931/0.4931, 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.232/1.232, allocations: 221.4 MB / 342.8 MB, free: 5.258 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.001021/0.001021, allocations: 89.39 kB / 415.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1607/0.1617, allocations: 78.45 MB / 493.9 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.5109, allocations: 72.29 MB / 0.553 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5674/1.078, allocations: 340.6 MB / 0.8856 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.079, allocations: 63.47 kB / 0.8856 GB, free: 1.008 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.02898/1.108, allocations: 13.29 MB / 0.8986 GB, free: 6.617 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.108, allocations: 8 kB / 0.8986 GB, free: 6.609 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/1.108, allocations: 7.906 kB / 0.8986 GB, free: 6.602 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.108, allocations: 163 kB / 0.8988 GB, free: 6.402 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/1.108, allocations: 29.7 kB / 0.8988 GB, free: 6.367 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/1.108, allocations: 4 kB / 0.8988 GB, free: 6.363 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.483e-05/1.108, allocations: 11.98 kB / 0.8988 GB, free: 6.352 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.75e-05/1.108, allocations: 49.33 kB / 0.8989 GB, free: 6.301 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.108, allocations: 0 / 0.8989 GB, free: 6.301 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.108, allocations: 0 / 0.8989 GB, free: 6.301 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/1.108, allocations: 0 / 0.8989 GB, free: 6.301 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/1.109, allocations: 318.1 kB / 0.8992 GB, free: 5.941 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/1.109, allocations: 22.52 kB / 0.8992 GB, free: 5.91 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/1.109, allocations: 7.391 kB / 0.8992 GB, free: 5.902 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/1.109, allocations: 85.17 kB / 0.8993 GB, free: 5.801 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.109, allocations: 30.56 kB / 0.8993 GB, free: 5.762 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/1.109, allocations: 0 / 0.8993 GB, free: 5.762 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0001862/1.109, allocations: 37.5 kB / 0.8994 GB, free: 5.723 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/1.109, allocations: 59.44 kB / 0.8994 GB, free: 5.652 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/1.109, allocations: 89 kB / 0.8995 GB, free: 5.559 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/1.109, allocations: 25.7 kB / 0.8995 GB, free: 5.527 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/1.109, allocations: 87.86 kB / 0.8996 GB, free: 5.441 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/1.109, allocations: 3.906 kB / 0.8996 GB, free: 5.438 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/1.109, allocations: 4 kB / 0.8996 GB, free: 5.434 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.11, allocations: 314.8 kB / 0.8999 GB, free: 5.117 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/1.11, allocations: 3.938 kB / 0.8999 GB, free: 5.113 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/1.11, allocations: 25.34 kB / 0.9 GB, free: 5.086 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.338e-05/1.11, allocations: 11.98 kB / 0.9 GB, free: 5.074 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.11, allocations: 0 / 0.9 GB, free: 5.074 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001181/1.11, allocations: 41.69 kB / 0.9 GB, free: 5.027 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.11, allocations: 4 kB / 0.9 GB, free: 5.023 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.11, allocations: 4 kB / 0.9 GB, free: 5.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/1.11, allocations: 0 / 0.9 GB, free: 5.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/1.11, allocations: 15.78 kB / 0.9 GB, free: 5.008 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.11, allocations: 4.062 kB / 0.9 GB, free: 5.004 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/1.11, allocations: 0 / 0.9 GB, free: 5.004 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/1.11, allocations: 4 kB / 0.9 GB, free: 5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.634e-05/1.11, allocations: 101 kB / 0.9001 GB, free: 4.895 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/1.11, allocations: 11.89 kB / 0.9001 GB, free: 4.883 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/1.11, allocations: 110.6 kB / 0.9002 GB, free: 4.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.269e-05/1.11, allocations: 188.2 kB / 0.9004 GB, free: 4.578 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.434e-05/1.11, allocations: 180.2 kB / 0.9006 GB, free: 4.395 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.257e-05/1.11, allocations: 176.3 kB / 0.9008 GB, free: 4.215 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/1.111, allocations: 389.2 kB / 0.9011 GB, free: 3.793 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/1.111, allocations: 101 kB / 0.9012 GB, free: 3.688 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/1.111, allocations: 101 kB / 0.9013 GB, free: 3.582 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.581e-05/1.111, allocations: 192.1 kB / 0.9015 GB, free: 3.387 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/1.111, allocations: 186 kB / 0.9017 GB, free: 3.203 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.034e-05/1.111, allocations: 176.3 kB / 0.9019 GB, free: 3.023 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.959e-05/1.111, allocations: 185.7 kB / 0.902 GB, free: 2.836 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000168/1.111, allocations: 299.8 kB / 0.9023 GB, free: 2.52 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002409/1.111, allocations: 0.6839 MB / 0.903 GB, free: 1.816 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/1.111, allocations: 178.1 kB / 0.9032 GB, free: 1.617 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/1.112, allocations: 192.1 kB / 0.9033 GB, free: 1.422 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/1.112, allocations: 105 kB / 0.9034 GB, free: 1.312 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/1.112, allocations: 179.8 kB / 0.9036 GB, free: 1.133 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/1.112, allocations: 108.9 kB / 0.9037 GB, free: 1.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.464e-05/1.112, allocations: 83.27 kB / 0.9038 GB, free: 0.9375 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009971/1.113, allocations: 19.44 kB / 0.9038 GB, free: 0.9219 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002502/1.113, allocations: 212.3 kB / 0.904 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 6.87e-05/1.113, allocations: 7.625 kB / 0.904 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.113, allocations: 0 / 0.904 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/1.113, allocations: 8.062 kB / 0.904 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/1.114, allocations: 0.5301 MB / 0.9046 GB, free: 164 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/1.114, allocations: 126.7 kB / 0.9047 GB, free: 16 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/1.114, allocations: 0.688 MB / 0.9053 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/1.114, allocations: 4 kB / 0.9053 GB, free: 15.3 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)