Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.491/2.491, allocations: 248.6 MB / 255.9 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001723/0.001723, allocations: 183.8 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.1 MB / 0.5658 GB, free: 420 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00129/0.001289, allocations: 89.5 kB / 0.67 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4862/0.4875, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.6911, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.025/6.717, allocations: 2.182 GB / 3.065 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/6.717, allocations: 86.2 kB / 3.065 GB, free: 175.6 MB / 0.8698 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.384/8.101, allocations: 294.9 MB / 3.353 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/8.102, allocations: 12 kB / 3.353 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/8.103, allocations: 139.3 kB / 3.354 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009593/8.104, allocations: 344.7 kB / 3.354 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/8.104, allocations: 46.3 kB / 3.354 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/8.105, allocations: 20 kB / 3.354 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007901/8.105, allocations: 233.2 kB / 3.354 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/8.106, allocations: 260.6 kB / 3.354 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/8.106, allocations: 4 kB / 3.354 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/8.106, allocations: 0 / 3.354 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/8.106, allocations: 4 kB / 3.354 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/8.109, allocations: 1.013 MB / 3.355 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/8.109, allocations: 227 kB / 3.356 GB, free: 229 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/8.11, allocations: 121.2 kB / 3.356 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/8.111, allocations: 0.4969 MB / 3.356 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/8.111, allocations: 42.66 kB / 3.356 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 3.486e-06/8.111, allocations: 3.938 kB / 3.356 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.001973/8.113, allocations: 348.1 kB / 3.357 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/8.113, allocations: 55.34 kB / 3.357 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/8.113, allocations: 180.3 kB / 3.357 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/8.113, allocations: 33.7 kB / 3.357 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/8.114, allocations: 152.2 kB / 3.357 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.755e-05/8.114, allocations: 70.91 kB / 3.357 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/8.114, allocations: 0 / 3.357 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/8.114, allocations: 334.8 kB / 3.357 GB, free: 227 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/8.114, allocations: 83.97 kB / 3.357 GB, free: 227 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/8.114, allocations: 132.2 kB / 3.358 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009954/8.115, allocations: 177.5 kB / 3.358 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/8.115, allocations: 0 / 3.358 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001511/8.117, allocations: 335.1 kB / 3.358 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/8.117, allocations: 10.66 kB / 3.358 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/8.117, allocations: 0 / 3.358 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/8.117, allocations: 0 / 3.358 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/8.117, allocations: 56.03 kB / 3.358 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/8.117, allocations: 7.938 kB / 3.358 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/8.118, allocations: 23.83 kB / 3.358 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/8.118, allocations: 23.89 kB / 3.358 GB, free: 226.2 MB / 0.8698 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.0001249/8.118, allocations: 108.9 kB / 3.358 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/8.118, allocations: 23.72 kB / 3.358 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/8.12, allocations: 387.3 kB / 3.359 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/8.12, allocations: 4 kB / 3.359 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/8.12, allocations: 3.906 kB / 3.359 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/8.12, allocations: 3.984 kB / 3.359 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/8.124, allocations: 1.327 MB / 3.36 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/8.124, allocations: 4 kB / 3.36 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/8.124, allocations: 51.91 kB / 3.36 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/8.124, allocations: 8.344 kB / 3.36 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/8.124, allocations: 11.98 kB / 3.36 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/8.124, allocations: 4 kB / 3.36 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/8.124, allocations: 4 kB / 3.36 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001517/8.126, allocations: 0.7308 MB / 3.361 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002103/8.128, allocations: 1.31 MB / 3.362 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/8.128, allocations: 140.7 kB / 3.362 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/8.128, allocations: 11.89 kB / 3.362 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/8.129, allocations: 24.05 kB / 3.362 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/8.129, allocations: 23.97 kB / 3.362 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/8.129, allocations: 12 kB / 3.362 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001643/8.129, allocations: 152.5 kB / 3.362 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002208/8.132, allocations: 359.5 kB / 3.363 GB, free: 221.1 MB / 0.8698 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.002417/8.134, allocations: 1.415 MB / 3.364 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006754/8.135, allocations: 211.8 kB / 3.364 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/8.135, allocations: 0 / 3.364 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/8.135, allocations: 120.5 kB / 3.364 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/8.136, allocations: 88.95 kB / 3.365 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/8.138, allocations: 0.5661 MB / 3.365 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/8.138, allocations: 0.841 MB / 3.366 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.122e-06/8.138, allocations: 0 / 3.366 GB, free: 217.9 MB / 0.8698 GB