Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.182/2.182, allocations: 248.6 MB / 255.9 MB, free: 340 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002328/0.002328, allocations: 186.7 kB / 315.1 MB, free: 7.746 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.597/2.597, allocations: 205.1 MB / 0.5658 GB, free: 25.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001374/0.001373, allocations: 85.22 kB / 0.67 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3088/0.3102, allocations: 112.4 MB / 0.7797 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.886, allocations: 106.2 MB / 0.8834 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.895, allocations: 369.1 MB / 1.244 GB, free: 6.121 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/1.896, allocations: 65.97 kB / 1.244 GB, free: 6.09 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.04419/1.94, allocations: 11.72 MB / 1.255 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/1.94, allocations: 8 kB / 1.255 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/1.94, allocations: 4 kB / 1.255 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/1.94, allocations: 167.1 kB / 1.256 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/1.94, allocations: 25.7 kB / 1.256 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/1.94, allocations: 0 / 1.256 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.365e-05/1.94, allocations: 15.53 kB / 1.256 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/1.94, allocations: 41.67 kB / 1.256 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.94, allocations: 0 / 1.256 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/1.94, allocations: 3.938 kB / 1.256 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/1.94, allocations: 7.875 kB / 1.256 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/1.941, allocations: 313.9 kB / 1.256 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/1.941, allocations: 22.2 kB / 1.256 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/1.941, allocations: 4.859 kB / 1.256 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/1.941, allocations: 85.16 kB / 1.256 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/1.941, allocations: 30.56 kB / 1.256 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 2.675e-06/1.941, allocations: 4 kB / 1.256 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0003049/1.942, allocations: 41.58 kB / 1.256 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.942, allocations: 51.41 kB / 1.256 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/1.942, allocations: 96.8 kB / 1.256 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/1.942, allocations: 25.7 kB / 1.256 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/1.942, allocations: 88.05 kB / 1.256 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/1.942, allocations: 3.906 kB / 1.256 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/1.942, allocations: 0 / 1.256 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.942, allocations: 314.4 kB / 1.257 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/1.942, allocations: 8 kB / 1.257 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/1.942, allocations: 17.7 kB / 1.257 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/1.943, allocations: 7.312 kB / 1.257 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.943, allocations: 0 / 1.257 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002449/1.943, allocations: 49.62 kB / 1.257 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.943, allocations: 4 kB / 1.257 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.943, allocations: 64 / 1.257 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.943, allocations: 7.906 kB / 1.257 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/1.943, allocations: 7.984 kB / 1.257 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.943, allocations: 4 kB / 1.257 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/1.943, allocations: 3.938 kB / 1.257 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/1.943, allocations: 0 / 1.257 GB, free: 11.4 MB / 0.7761 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 (3): * Single equations (assignments): 3 * 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.000148/1.943, allocations: 106.6 kB / 1.257 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/1.943, allocations: 7.469 kB / 1.257 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/1.943, allocations: 128.9 kB / 1.257 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.491e-05/1.944, allocations: 176.3 kB / 1.257 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.535e-05/1.944, allocations: 176.3 kB / 1.257 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.334e-05/1.944, allocations: 184.2 kB / 1.258 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/1.944, allocations: 381.4 kB / 1.258 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.996e-05/1.944, allocations: 109 kB / 1.258 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.229e-05/1.944, allocations: 108.8 kB / 1.258 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/1.944, allocations: 184.2 kB / 1.258 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.865e-05/1.945, allocations: 180.2 kB / 1.258 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.537e-05/1.945, allocations: 180.2 kB / 1.259 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.061e-05/1.945, allocations: 183.6 kB / 1.259 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001631/1.945, allocations: 313.4 kB / 1.259 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002859/1.945, allocations: 0.6674 MB / 1.26 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/1.945, allocations: 193.9 kB / 1.26 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/1.945, allocations: 180.3 kB / 1.26 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/1.946, allocations: 105 kB / 1.26 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/1.946, allocations: 184.2 kB / 1.26 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/1.946, allocations: 101 kB / 1.26 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001378/1.946, allocations: 82.78 kB / 1.261 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001268/1.947, allocations: 23.75 kB / 1.261 GB, free: 7.316 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003416/1.948, allocations: 213.1 kB / 1.261 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001042/1.948, allocations: 15.94 kB / 1.261 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.948, allocations: 0 / 1.261 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/1.948, allocations: 0 / 1.261 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/1.948, allocations: 0.5184 MB / 1.261 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/1.948, allocations: 139.3 kB / 1.261 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/1.949, allocations: 0.688 MB / 1.262 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/1.949, allocations: 0 / 1.262 GB, free: 5.688 MB / 0.7761 GB