Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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/BuildSysPro 3.5.0/package.mo): time 0.6896/0.6896, allocations: 127.4 MB / 134.6 MB, free: 3.371 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 188.3 kB / 164.4 MB, free: 15.79 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 399.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009199/0.0009201, allocations: 100.8 kB / 476.3 MB, free: 6.902 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1941/0.195, allocations: 82.87 MB / 0.5461 GB, free: 3.965 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.6212, allocations: 76.76 MB / 0.621 GB, free: 48.8 MB / 446.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.633/6.254, allocations: 2.135 GB / 2.756 GB, free: 206 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/6.255, allocations: 89.11 kB / 2.756 GB, free: 205.9 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.9209/7.176, allocations: 208.4 MB / 2.96 GB, free: 168.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/7.176, allocations: 9.938 kB / 2.96 GB, free: 168.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/7.176, allocations: 25.53 kB / 2.96 GB, free: 168.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000603/7.176, allocations: 281 kB / 2.96 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/7.177, allocations: 3.781 kB / 2.96 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/7.177, allocations: 13.66 kB / 2.96 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003064/7.177, allocations: 98.55 kB / 2.96 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/7.177, allocations: 206.4 kB / 2.96 GB, free: 168.4 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/7.177, allocations: 3.281 kB / 2.96 GB, free: 168.4 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/7.177, allocations: 0 / 2.96 GB, free: 168.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/7.177, allocations: 6.469 kB / 2.96 GB, free: 168.4 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/7.179, allocations: 0.9565 MB / 2.961 GB, free: 167.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/7.179, allocations: 110.6 kB / 2.961 GB, free: 167.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/7.179, allocations: 54.28 kB / 2.962 GB, free: 167.6 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/7.179, allocations: 117.9 kB / 2.962 GB, free: 167.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/7.179, allocations: 45.22 kB / 2.962 GB, free: 167.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/7.179, allocations: 0 / 2.962 GB, free: 167.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0004968/7.18, allocations: 124.5 kB / 2.962 GB, free: 167.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/7.18, allocations: 106.5 kB / 2.962 GB, free: 167.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/7.18, allocations: 159 kB / 2.962 GB, free: 167.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/7.18, allocations: 25.7 kB / 2.962 GB, free: 167.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/7.18, allocations: 150.8 kB / 2.962 GB, free: 167 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/7.18, allocations: 31.61 kB / 2.962 GB, free: 167 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/7.18, allocations: 0 / 2.962 GB, free: 167 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001094/7.18, allocations: 328.9 kB / 2.963 GB, free: 166.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/7.18, allocations: 29.52 kB / 2.963 GB, free: 166.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/7.181, allocations: 88.42 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/7.181, allocations: 72.14 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/7.181, allocations: 0 / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003152/7.181, allocations: 155 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/7.181, allocations: 7.844 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/7.181, allocations: 0 / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/7.181, allocations: 7 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/7.181, allocations: 27.86 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/7.181, allocations: 8.812 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/7.182, allocations: 24.75 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/7.182, allocations: 8.375 kB / 2.963 GB, free: 166.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.907e-05/7.182, allocations: 110.6 kB / 2.963 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/7.182, allocations: 15.59 kB / 2.963 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/7.182, allocations: 124.5 kB / 2.963 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/7.182, allocations: 0 / 2.963 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/7.182, allocations: 3.656 kB / 2.963 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/7.182, allocations: 3.719 kB / 2.963 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/7.183, allocations: 487.6 kB / 2.964 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/7.183, allocations: 2.969 kB / 2.964 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/7.183, allocations: 30.25 kB / 2.964 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/7.183, allocations: 3.5 kB / 2.964 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/7.183, allocations: 3.969 kB / 2.964 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/7.183, allocations: 0 / 2.964 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/7.183, allocations: 7.125 kB / 2.964 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004295/7.183, allocations: 337.2 kB / 2.964 GB, free: 165.8 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007747/7.184, allocations: 0.7812 MB / 2.965 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/7.184, allocations: 92.17 kB / 2.965 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/7.184, allocations: 3.938 kB / 2.965 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/7.184, allocations: 14.22 kB / 2.965 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/7.185, allocations: 17.39 kB / 2.965 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/7.185, allocations: 7.562 kB / 2.965 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 0.0001032/7.185, allocations: 125.9 kB / 2.965 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001463/7.186, allocations: 233.5 kB / 2.965 GB, free: 165.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.002017/7.188, allocations: 1.139 MB / 2.966 GB, free: 164.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002182/7.188, allocations: 83.88 kB / 2.966 GB, free: 164.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/7.188, allocations: 0 / 2.966 GB, free: 164.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/7.188, allocations: 41.19 kB / 2.967 GB, free: 164.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/7.189, allocations: 57.59 kB / 2.967 GB, free: 164.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/7.19, allocations: 321.5 kB / 2.967 GB, free: 164.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/7.19, allocations: 0.7878 MB / 2.968 GB, free: 164 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/7.19, allocations: 3.5 kB / 2.968 GB, free: 164 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)