Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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 1.881/1.881, allocations: 248.6 MB / 255.9 MB, free: 356 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.001686/0.001686, allocations: 183.4 kB / 315.1 MB, free: 7.77 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.1 MB / 0.5658 GB, free: 25.52 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.001283/0.001283, allocations: 98.33 kB / 0.67 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2414/0.2428, allocations: 112.4 MB / 0.7797 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.6859, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.8849, allocations: 132.3 MB / 1.013 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.8853, allocations: 83.94 kB / 1.013 GB, free: 8.652 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01384/0.8991, allocations: 2.69 MB / 1.015 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.8992, allocations: 12 kB / 1.015 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.8993, allocations: 3.984 kB / 1.015 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.8994, allocations: 163.1 kB / 1.016 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/0.8995, allocations: 37.61 kB / 1.016 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.8995, allocations: 7.922 kB / 1.016 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.516e-05/0.8996, allocations: 8 kB / 1.016 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.751e-05/0.8997, allocations: 44.28 kB / 1.016 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.8998, allocations: 0 / 1.016 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.8998, allocations: 0 / 1.016 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8998, allocations: 0 / 1.016 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.9, allocations: 134.2 kB / 1.016 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.9002, allocations: 42.61 kB / 1.016 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.9003, allocations: 20.77 kB / 1.016 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/0.9007, allocations: 174.3 kB / 1.016 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.9008, allocations: 38.48 kB / 1.016 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 3.757e-06/0.9008, allocations: 4 kB / 1.016 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0007668/0.9015, allocations: 97.61 kB / 1.016 GB, free: 4.996 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.9016, allocations: 55.39 kB / 1.016 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.9017, allocations: 93 kB / 1.016 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.9017, allocations: 25.7 kB / 1.016 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.9018, allocations: 80.14 kB / 1.016 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.9018, allocations: 11.75 kB / 1.016 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.9018, allocations: 0 / 1.016 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.902, allocations: 322.8 kB / 1.017 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.902, allocations: 11.92 kB / 1.017 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.902, allocations: 8 kB / 1.017 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.9026, allocations: 55.91 kB / 1.017 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.9027, allocations: 0 / 1.017 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006768/0.9034, allocations: 109.4 kB / 1.017 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.9034, allocations: 4 kB / 1.017 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.9034, allocations: 3.984 kB / 1.017 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.9034, allocations: 0 / 1.017 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.9035, allocations: 23.92 kB / 1.017 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9036, allocations: 0 / 1.017 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.9036, allocations: 0 / 1.017 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.9036, allocations: 4 kB / 1.017 GB, free: 4.16 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 8.073e-05/0.9037, allocations: 101 kB / 1.017 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.9038, allocations: 3.906 kB / 1.017 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007305/0.9045, allocations: 113.6 kB / 1.017 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.9045, allocations: 4 kB / 1.017 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9045, allocations: 4 kB / 1.017 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.9046, allocations: 48 / 1.017 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.9047, allocations: 142.1 kB / 1.017 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9047, allocations: 0 / 1.017 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.9048, allocations: 8 kB / 1.017 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.9048, allocations: 4 kB / 1.017 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.9049, allocations: 0 / 1.017 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9049, allocations: 0 / 1.017 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9049, allocations: 0 / 1.017 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006857/0.9056, allocations: 136.9 kB / 1.017 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008077/0.9064, allocations: 0.5052 MB / 1.018 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.9065, allocations: 77.11 kB / 1.018 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.9065, allocations: 3.984 kB / 1.018 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.9066, allocations: 8 kB / 1.018 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.9067, allocations: 0 / 1.018 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.9067, allocations: 4 kB / 1.018 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.141e-05/0.9067, allocations: 75.28 kB / 1.018 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001148/0.9079, allocations: 47.83 kB / 1.018 GB, free: 2.828 MB / 0.6667 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 (4): * Single equations (assignments): 4 * 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.0003201/0.9082, allocations: 141.2 kB / 1.018 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.9084, allocations: 23.94 kB / 1.018 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9084, allocations: 4 kB / 1.018 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.9084, allocations: 8 kB / 1.018 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.9086, allocations: 10.39 kB / 1.018 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.9089, allocations: 71.7 kB / 1.018 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.9092, allocations: 0.6915 MB / 1.019 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of SimCode: time 7.32e-07/0.9092, allocations: 0 / 1.019 GB, free: 1.828 MB / 0.6667 GB