Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001727/0.001727, allocations: 192.2 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008474/0.0008474, allocations: 89.91 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2843/0.2852, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7193/1.005, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.732/5.737, allocations: 2.064 GB / 3.037 GB, free: 357.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/5.737, allocations: 89.72 kB / 3.037 GB, free: 357.1 MB / 0.948 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 0.5944/6.332, allocations: 304 MB / 3.334 GB, free: 71.92 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/6.332, allocations: 12 kB / 3.334 GB, free: 71.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/6.333, allocations: 135.3 kB / 3.334 GB, free: 71.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/6.334, allocations: 338 kB / 3.334 GB, free: 71.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.703e-05/6.334, allocations: 38.36 kB / 3.334 GB, free: 71.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.748e-05/6.334, allocations: 27.92 kB / 3.334 GB, free: 71.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005021/6.335, allocations: 213.2 kB / 3.334 GB, free: 71.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/6.335, allocations: 294 kB / 3.335 GB, free: 70.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/6.335, allocations: 0 / 3.335 GB, free: 70.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/6.335, allocations: 0 / 3.335 GB, free: 70.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/6.335, allocations: 4 kB / 3.335 GB, free: 70.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/6.337, allocations: 1.421 MB / 3.336 GB, free: 69.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/6.338, allocations: 166.6 kB / 3.336 GB, free: 69.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/6.338, allocations: 100.8 kB / 3.336 GB, free: 69.01 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009517/6.339, allocations: 0.5052 MB / 3.337 GB, free: 68.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/6.339, allocations: 34.56 kB / 3.337 GB, free: 68.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/6.339, allocations: 4 kB / 3.337 GB, free: 68.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001155/6.34, allocations: 278.8 kB / 3.337 GB, free: 68.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/6.34, allocations: 55.69 kB / 3.337 GB, free: 68.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/6.34, allocations: 193 kB / 3.337 GB, free: 67.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/6.34, allocations: 25.7 kB / 3.337 GB, free: 67.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/6.34, allocations: 172 kB / 3.337 GB, free: 67.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/6.34, allocations: 51.2 kB / 3.338 GB, free: 67.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/6.34, allocations: 4 kB / 3.338 GB, free: 67.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001256/6.341, allocations: 334.8 kB / 3.338 GB, free: 67.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/6.341, allocations: 67.97 kB / 3.338 GB, free: 67.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/6.341, allocations: 142.5 kB / 3.338 GB, free: 67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/6.341, allocations: 137.6 kB / 3.338 GB, free: 66.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/6.341, allocations: 0 / 3.338 GB, free: 66.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007622/6.342, allocations: 285.1 kB / 3.338 GB, free: 66.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/6.342, allocations: 6.969 kB / 3.338 GB, free: 66.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/6.342, allocations: 8.188 kB / 3.338 GB, free: 66.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/6.342, allocations: 7.906 kB / 3.338 GB, free: 66.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/6.342, allocations: 43.91 kB / 3.339 GB, free: 66.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/6.342, allocations: 4 kB / 3.339 GB, free: 66.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/6.343, allocations: 39.83 kB / 3.339 GB, free: 66.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/6.343, allocations: 15.98 kB / 3.339 GB, free: 66.46 MB / 0.948 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 (20): * Single equations (assignments): 20 * 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.158e-05/6.343, allocations: 108.9 kB / 3.339 GB, free: 66.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/6.343, allocations: 23.72 kB / 3.339 GB, free: 66.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/6.344, allocations: 311.2 kB / 3.339 GB, free: 66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/6.344, allocations: 11.89 kB / 3.339 GB, free: 65.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/6.344, allocations: 4 kB / 3.339 GB, free: 65.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/6.344, allocations: 0 / 3.339 GB, free: 65.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/6.346, allocations: 1.234 MB / 3.34 GB, free: 64.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/6.346, allocations: 4 kB / 3.34 GB, free: 64.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/6.346, allocations: 44.25 kB / 3.34 GB, free: 64.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/6.346, allocations: 7.984 kB / 3.34 GB, free: 64.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/6.346, allocations: 8 kB / 3.34 GB, free: 64.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/6.346, allocations: 4 kB / 3.34 GB, free: 64.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/6.346, allocations: 4 kB / 3.34 GB, free: 64.53 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006203/6.347, allocations: 0.5323 MB / 3.341 GB, free: 63.88 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008768/6.348, allocations: 0.9645 MB / 3.342 GB, free: 62.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/6.348, allocations: 132.7 kB / 3.342 GB, free: 62.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/6.348, allocations: 4 kB / 3.342 GB, free: 62.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/6.348, allocations: 35.91 kB / 3.342 GB, free: 62.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/6.348, allocations: 19.92 kB / 3.342 GB, free: 62.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/6.348, allocations: 12 kB / 3.342 GB, free: 62.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001076/6.348, allocations: 153.2 kB / 3.342 GB, free: 62.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001655/6.35, allocations: 347.7 kB / 3.342 GB, free: 62.09 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002011/6.352, allocations: 1.396 MB / 3.344 GB, free: 60.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003121/6.352, allocations: 176.2 kB / 3.344 GB, free: 60.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/6.352, allocations: 4.062 kB / 3.344 GB, free: 60.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/6.352, allocations: 107.8 kB / 3.344 GB, free: 60.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/6.353, allocations: 92.86 kB / 3.344 GB, free: 60.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/6.354, allocations: 434.9 kB / 3.345 GB, free: 59.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/6.354, allocations: 0.8294 MB / 3.345 GB, free: 58.96 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/6.354, allocations: 0 / 3.345 GB, free: 58.96 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)