Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.7652/0.7652, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002128/0.002128, allocations: 181.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 399.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009775/0.0009776, allocations: 89.83 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.367/0.368, allocations: 82.88 MB / 0.546 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.5709, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.609/6.18, allocations: 2.138 GB / 2.759 GB, free: 75.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004228/6.18, allocations: 84.7 kB / 2.759 GB, free: 75.32 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 1.025/7.206, allocations: 302.6 MB / 3.055 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/7.206, allocations: 11.98 kB / 3.055 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/7.207, allocations: 139.3 kB / 3.055 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007114/7.208, allocations: 353.9 kB / 3.055 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.856e-05/7.208, allocations: 46.36 kB / 3.055 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/7.208, allocations: 16 kB / 3.055 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004726/7.208, allocations: 241.1 kB / 3.056 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/7.209, allocations: 252.8 kB / 3.056 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/7.209, allocations: 0 / 3.056 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/7.209, allocations: 0 / 3.056 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/7.209, allocations: 8 kB / 3.056 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/7.211, allocations: 1.023 MB / 3.057 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/7.211, allocations: 250.7 kB / 3.057 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/7.211, allocations: 117.1 kB / 3.057 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008841/7.212, allocations: 0.5091 MB / 3.058 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/7.212, allocations: 34.56 kB / 3.058 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/7.212, allocations: 0 / 3.058 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.00122/7.213, allocations: 337.2 kB / 3.058 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/7.213, allocations: 59.39 kB / 3.058 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/7.214, allocations: 176.2 kB / 3.058 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/7.214, allocations: 29.64 kB / 3.058 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/7.214, allocations: 156.2 kB / 3.058 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/7.214, allocations: 66.95 kB / 3.058 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/7.214, allocations: 0 / 3.058 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/7.214, allocations: 342.7 kB / 3.059 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/7.214, allocations: 75.97 kB / 3.059 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/7.214, allocations: 133.2 kB / 3.059 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/7.215, allocations: 175.7 kB / 3.059 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/7.215, allocations: 3.984 kB / 3.059 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008456/7.216, allocations: 331.9 kB / 3.06 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/7.216, allocations: 4 kB / 3.06 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/7.216, allocations: 0 / 3.06 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/7.216, allocations: 0 / 3.06 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/7.216, allocations: 55.94 kB / 3.06 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/7.216, allocations: 3.938 kB / 3.06 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/7.216, allocations: 19.89 kB / 3.06 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/7.216, allocations: 16 kB / 3.06 GB, free: 17.01 MB / 0.6355 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 (23): * Single equations (assignments): 23 * 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 0.0001329/7.217, allocations: 112.9 kB / 3.06 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/7.217, allocations: 31.61 kB / 3.06 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/7.218, allocations: 386.1 kB / 3.06 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/7.218, allocations: 4 kB / 3.06 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/7.218, allocations: 0 / 3.06 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/7.218, allocations: 0 / 3.06 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/7.221, allocations: 1.308 MB / 3.061 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/7.221, allocations: 4 kB / 3.061 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/7.221, allocations: 43.97 kB / 3.061 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/7.221, allocations: 4 kB / 3.061 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/7.221, allocations: 8 kB / 3.061 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/7.221, allocations: 8.25 kB / 3.061 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.221, allocations: 7.906 kB / 3.061 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009852/7.222, allocations: 0.7088 MB / 3.062 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001521/7.223, allocations: 1.278 MB / 3.063 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/7.224, allocations: 112.8 kB / 3.064 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/7.224, allocations: 0 / 3.064 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/7.224, allocations: 27.97 kB / 3.064 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/7.224, allocations: 27.89 kB / 3.064 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/7.224, allocations: 15.98 kB / 3.064 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001222/7.224, allocations: 148.5 kB / 3.064 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001868/7.226, allocations: 355.6 kB / 3.064 GB, free: 12.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (senS_flow.s_out,senS.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.002377/7.229, allocations: 1.425 MB / 3.065 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004633/7.229, allocations: 219 kB / 3.066 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/7.229, allocations: 0 / 3.066 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/7.229, allocations: 123.8 kB / 3.066 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/7.23, allocations: 89.38 kB / 3.066 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/7.231, allocations: 0.5506 MB / 3.066 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/7.232, allocations: 0.8367 MB / 3.067 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/7.232, allocations: 0 / 3.067 GB, free: 8.691 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)