Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_6_0_0_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 loadModel(Buildings): time 4.189/4.189, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5607/4.75, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/5.004, allocations: 98.72 MB / 0.6283 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.506/10.51, allocations: 2.177 GB / 2.805 GB, free: 171.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/10.51, allocations: 89.08 kB / 2.805 GB, free: 171.6 MB / 0.823 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.472/11.98, allocations: 294.9 MB / 3.093 GB, free: 160.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/11.98, allocations: 7.812 kB / 3.093 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/11.99, allocations: 146.5 kB / 3.094 GB, free: 160.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/11.99, allocations: 348.8 kB / 3.094 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/11.99, allocations: 43.42 kB / 3.094 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/11.99, allocations: 19.59 kB / 3.094 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007372/11.99, allocations: 241.1 kB / 3.094 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/11.99, allocations: 254 kB / 3.094 GB, free: 160.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/11.99, allocations: 8 kB / 3.094 GB, free: 160.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/11.99, allocations: 0.6094 kB / 3.094 GB, free: 160.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/11.99, allocations: 7.875 kB / 3.094 GB, free: 160.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/11.99, allocations: 1.021 MB / 3.095 GB, free: 160 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/11.99, allocations: 238.9 kB / 3.096 GB, free: 160 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/11.99, allocations: 113.9 kB / 3.096 GB, free: 160 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001948/12, allocations: 0.5043 MB / 3.096 GB, free: 159.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/12, allocations: 30.75 kB / 3.096 GB, free: 159.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=21): time 5.791e-06/12, allocations: 4 kB / 3.096 GB, free: 159.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=21): time 0.003437/12, allocations: 355.4 kB / 3.097 GB, free: 159.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/12, allocations: 59.91 kB / 3.097 GB, free: 159.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/12, allocations: 181.3 kB / 3.097 GB, free: 159.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.58e-05/12, allocations: 25.7 kB / 3.097 GB, free: 159.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/12, allocations: 152.3 kB / 3.097 GB, free: 159.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/12, allocations: 74.56 kB / 3.097 GB, free: 159.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/12, allocations: 4 kB / 3.097 GB, free: 159.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001232/12, allocations: 336.8 kB / 3.097 GB, free: 158.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/12, allocations: 83.67 kB / 3.098 GB, free: 158.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/12, allocations: 124.8 kB / 3.098 GB, free: 158.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/12, allocations: 175.1 kB / 3.098 GB, free: 158.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/12, allocations: 7.938 kB / 3.098 GB, free: 158.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001518/12.01, allocations: 333.8 kB / 3.098 GB, free: 158.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/12.01, allocations: 11.81 kB / 3.098 GB, free: 158.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/12.01, allocations: 0 / 3.098 GB, free: 158.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/12.01, allocations: 0.6562 kB / 3.098 GB, free: 158.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/12.01, allocations: 54.17 kB / 3.098 GB, free: 158.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/12.01, allocations: 4.5 kB / 3.098 GB, free: 158.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/12.01, allocations: 33.16 kB / 3.098 GB, free: 158.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/12.01, allocations: 13.19 kB / 3.098 GB, free: 158.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001289/12.01, allocations: 108.9 kB / 3.098 GB, free: 158.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/12.01, allocations: 24.05 kB / 3.098 GB, free: 158.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/12.01, allocations: 390.6 kB / 3.099 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/12.01, allocations: 4.422 kB / 3.099 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/12.01, allocations: 0 / 3.099 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/12.01, allocations: 5.016 kB / 3.099 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/12.01, allocations: 1.335 MB / 3.1 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/12.01, allocations: 0 / 3.1 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/12.01, allocations: 50.88 kB / 3.1 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/12.01, allocations: 3.906 kB / 3.1 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/12.01, allocations: 8.391 kB / 3.1 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/12.01, allocations: 4.5 kB / 3.1 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/12.01, allocations: 8.547 kB / 3.1 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001735/12.01, allocations: 0.7339 MB / 3.101 GB, free: 157.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002282/12.02, allocations: 1.3 MB / 3.102 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/12.02, allocations: 145.2 kB / 3.102 GB, free: 156.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/12.02, allocations: 4.703 kB / 3.102 GB, free: 156.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/12.02, allocations: 30.23 kB / 3.102 GB, free: 156.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/12.02, allocations: 17.41 kB / 3.102 GB, free: 156.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/12.02, allocations: 17.3 kB / 3.102 GB, free: 156.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001868/12.02, allocations: 148.6 kB / 3.102 GB, free: 156.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002292/12.02, allocations: 358.2 kB / 3.103 GB, free: 156.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 22 * 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.002679/12.02, allocations: 1.409 MB / 3.104 GB, free: 155.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007674/12.02, allocations: 220.2 kB / 3.104 GB, free: 155.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/12.02, allocations: 0 / 3.104 GB, free: 155.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003259/12.02, allocations: 123.1 kB / 3.105 GB, free: 155.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/12.03, allocations: 97.03 kB / 3.105 GB, free: 155.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/12.03, allocations: 0.5608 MB / 3.105 GB, free: 155.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/12.03, allocations: 0.8407 MB / 3.106 GB, free: 154.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.272e-06/12.03, allocations: 0 / 3.106 GB, free: 154.6 MB / 0.823 GB