Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirProperties.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.AirProperties,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirProperties",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.266/2.266, allocations: 248.6 MB / 255.9 MB, free: 7.055 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.001842/0.001842, allocations: 184.1 kB / 315.1 MB, free: 4.242 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.115/2.115, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001358/0.001358, allocations: 87.33 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5374/0.5388, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.755, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.031/6.786, allocations: 2.205 GB / 3.088 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/6.786, allocations: 74.08 kB / 3.088 GB, free: 164.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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.2035/6.99, allocations: 50.63 MB / 3.138 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/6.99, allocations: 8 kB / 3.138 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/6.992, allocations: 151.5 kB / 3.138 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/6.993, allocations: 226.7 kB / 3.138 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/6.993, allocations: 8 kB / 3.138 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/6.993, allocations: 8 kB / 3.138 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008567/6.994, allocations: 324.7 kB / 3.139 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/6.994, allocations: 290.6 kB / 3.139 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/6.994, allocations: 0 / 3.139 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/6.994, allocations: 4 kB / 3.139 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/6.994, allocations: 8.375 kB / 3.139 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/6.997, allocations: 1.146 MB / 3.14 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/6.997, allocations: 177.2 kB / 3.14 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/6.998, allocations: 80.89 kB / 3.14 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005322/6.998, allocations: 352.4 kB / 3.141 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/6.998, allocations: 50.5 kB / 3.141 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 3.136e-06/6.998, allocations: 0 / 3.141 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0007259/6.999, allocations: 176.3 kB / 3.141 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/6.999, allocations: 51.41 kB / 3.141 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/6.999, allocations: 158 kB / 3.141 GB, free: 117 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/6.999, allocations: 25.7 kB / 3.141 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/6.999, allocations: 151.7 kB / 3.141 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/6.999, allocations: 67.02 kB / 3.141 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/6.999, allocations: 0 / 3.141 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/7, allocations: 326.8 kB / 3.142 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/7, allocations: 68.23 kB / 3.142 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/7, allocations: 160.4 kB / 3.142 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/7, allocations: 86.56 kB / 3.142 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/7, allocations: 4.109 kB / 3.142 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006679/7.001, allocations: 262.6 kB / 3.142 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/7.001, allocations: 4 kB / 3.142 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/7.001, allocations: 11.92 kB / 3.142 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/7.001, allocations: 4.406 kB / 3.142 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/7.002, allocations: 63.92 kB / 3.142 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/7.002, allocations: 7.938 kB / 3.142 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/7.002, allocations: 27.67 kB / 3.142 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/7.002, allocations: 12 kB / 3.142 GB, free: 115.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001132/7.002, allocations: 116.8 kB / 3.142 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/7.002, allocations: 15.81 kB / 3.142 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/7.003, allocations: 206.4 kB / 3.143 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/7.003, allocations: 4 kB / 3.143 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/7.003, allocations: 0 / 3.143 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/7.003, allocations: 3.984 kB / 3.143 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008578/7.004, allocations: 487.5 kB / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/7.004, allocations: 0 / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/7.004, allocations: 31.98 kB / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/7.004, allocations: 32 / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/7.004, allocations: 4 kB / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/7.004, allocations: 4 kB / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/7.004, allocations: 7.875 kB / 3.143 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005361/7.005, allocations: 292 kB / 3.143 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007254/7.006, allocations: 0.6897 MB / 3.144 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/7.006, allocations: 120.8 kB / 3.144 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/7.006, allocations: 0 / 3.144 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/7.006, allocations: 15.92 kB / 3.144 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/7.006, allocations: 11.89 kB / 3.144 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/7.006, allocations: 12 kB / 3.144 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001125/7.007, allocations: 119.2 kB / 3.144 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001767/7.008, allocations: 199.8 kB / 3.144 GB, free: 113.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001258/7.01, allocations: 0.7327 MB / 3.145 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005139/7.01, allocations: 172.3 kB / 3.145 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/7.01, allocations: 0.8125 kB / 3.145 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/7.01, allocations: 75.91 kB / 3.145 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/7.011, allocations: 44.02 kB / 3.145 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008251/7.012, allocations: 228.9 kB / 3.146 GB, free: 112 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/7.012, allocations: 0.7622 MB / 3.146 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.163e-06/7.012, allocations: 0 / 3.146 GB, free: 111.2 MB / 0.8698 GB