Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 177.3 kB / 487 MB, free: 5.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 100.4 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6358/0.6369, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.8603, allocations: 142.4 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.86/4.72, allocations: 1.868 GB / 3.073 GB, free: 436.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/4.72, allocations: 86.36 kB / 3.074 GB, free: 436.4 MB / 1.151 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.5914/5.312, allocations: 306.9 MB / 3.373 GB, free: 145.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/5.312, allocations: 9 kB / 3.373 GB, free: 145.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/5.313, allocations: 135.3 kB / 3.373 GB, free: 145.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/5.314, allocations: 349.9 kB / 3.374 GB, free: 145.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/5.314, allocations: 38.36 kB / 3.374 GB, free: 145.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/5.314, allocations: 16 kB / 3.374 GB, free: 145.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003668/5.314, allocations: 213.2 kB / 3.374 GB, free: 144.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/5.315, allocations: 298 kB / 3.374 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/5.315, allocations: 0 / 3.374 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/5.315, allocations: 3.984 kB / 3.374 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/5.315, allocations: 8 kB / 3.374 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/5.316, allocations: 1.413 MB / 3.376 GB, free: 143.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/5.317, allocations: 170.6 kB / 3.376 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/5.317, allocations: 92.81 kB / 3.376 GB, free: 142.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008058/5.318, allocations: 0.513 MB / 3.376 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/5.318, allocations: 30.56 kB / 3.376 GB, free: 142.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/5.318, allocations: 0 / 3.376 GB, free: 142.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0009906/5.319, allocations: 289.4 kB / 3.377 GB, free: 141.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/5.319, allocations: 51.41 kB / 3.377 GB, free: 141.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/5.319, allocations: 193.1 kB / 3.377 GB, free: 141.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/5.319, allocations: 29.7 kB / 3.377 GB, free: 141.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/5.319, allocations: 168 kB / 3.377 GB, free: 141.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/5.319, allocations: 47.27 kB / 3.377 GB, free: 141.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/5.319, allocations: 4 kB / 3.377 GB, free: 141.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/5.319, allocations: 330.8 kB / 3.378 GB, free: 141 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/5.319, allocations: 67.97 kB / 3.378 GB, free: 140.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/5.319, allocations: 138.4 kB / 3.378 GB, free: 140.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/5.32, allocations: 139.9 kB / 3.378 GB, free: 140.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/5.32, allocations: 0 / 3.378 GB, free: 140.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006996/5.321, allocations: 289.1 kB / 3.378 GB, free: 140.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/5.321, allocations: 7.938 kB / 3.378 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/5.321, allocations: 3.938 kB / 3.378 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/5.321, allocations: 4 kB / 3.378 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/5.321, allocations: 55.81 kB / 3.378 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/5.321, allocations: 192 / 3.378 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/5.321, allocations: 31.83 kB / 3.378 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/5.321, allocations: 12 kB / 3.378 GB, free: 140.2 MB / 1.151 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 7.475e-05/5.321, allocations: 108.9 kB / 3.378 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/5.321, allocations: 27.72 kB / 3.378 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/5.322, allocations: 311.3 kB / 3.379 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/5.322, allocations: 4 kB / 3.379 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/5.322, allocations: 3.906 kB / 3.379 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/5.322, allocations: 7.922 kB / 3.379 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/5.324, allocations: 1.238 MB / 3.38 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/5.324, allocations: 4 kB / 3.38 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/5.324, allocations: 43.92 kB / 3.38 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/5.324, allocations: 4 kB / 3.38 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/5.324, allocations: 7.984 kB / 3.38 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/5.324, allocations: 4 kB / 3.38 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/5.324, allocations: 4.188 kB / 3.38 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005642/5.325, allocations: 0.5293 MB / 3.38 GB, free: 137.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007996/5.326, allocations: 0.9644 MB / 3.381 GB, free: 136.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/5.326, allocations: 132.7 kB / 3.382 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/5.326, allocations: 7.969 kB / 3.382 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/5.326, allocations: 35.97 kB / 3.382 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/5.326, allocations: 15.92 kB / 3.382 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/5.326, allocations: 12 kB / 3.382 GB, free: 136.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001011/5.327, allocations: 149.2 kB / 3.382 GB, free: 136.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001717/5.328, allocations: 347.6 kB / 3.382 GB, free: 135.9 MB / 1.151 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.001821/5.33, allocations: 1.418 MB / 3.383 GB, free: 134.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003152/5.33, allocations: 180.7 kB / 3.384 GB, free: 134.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/5.33, allocations: 4 kB / 3.384 GB, free: 134.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/5.331, allocations: 99.83 kB / 3.384 GB, free: 134.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/5.331, allocations: 99.97 kB / 3.384 GB, free: 134.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/5.332, allocations: 422.4 kB / 3.384 GB, free: 133.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/5.332, allocations: 0.8293 MB / 3.385 GB, free: 132.7 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/5.332, allocations: 0 / 3.385 GB, free: 132.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)