Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.864/1.864, allocations: 248.6 MB / 255.9 MB, free: 348 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.001587/0.001587, allocations: 184.6 kB / 315.1 MB, free: 7.758 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.852/1.852, allocations: 205.1 MB / 0.5658 GB, free: 25.49 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.001284/0.001283, allocations: 85.97 kB / 0.67 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2453/0.2466, allocations: 112.4 MB / 0.7797 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.6788, allocations: 106.2 MB / 0.8835 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.8769, allocations: 131 MB / 1.011 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.8772, allocations: 79.95 kB / 1.011 GB, free: 10.04 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.01027/0.8875, allocations: 2.117 MB / 1.014 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8876, allocations: 8 kB / 1.014 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.8878, allocations: 11.89 kB / 1.014 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.8879, allocations: 167 kB / 1.014 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.8879, allocations: 0 / 1.014 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.888, allocations: 0 / 1.014 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.967e-05/0.8881, allocations: 11.98 kB / 1.014 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.8882, allocations: 49.59 kB / 1.014 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.8882, allocations: 3.938 kB / 1.014 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.8882, allocations: 0 / 1.014 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.8882, allocations: 3.984 kB / 1.014 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.8884, allocations: 134.2 kB / 1.014 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.8886, allocations: 29.72 kB / 1.014 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.8887, allocations: 20.98 kB / 1.014 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.8887, allocations: 4 kB / 1.014 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.8888, allocations: 30.56 kB / 1.014 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.8888, allocations: 0 / 1.014 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6): time 0.002088/0.8909, allocations: 386.1 kB / 1.014 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.8909, allocations: 55.41 kB / 1.014 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.018e-05/0.891, allocations: 89 kB / 1.014 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.891, allocations: 25.7 kB / 1.015 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.8911, allocations: 84.08 kB / 1.015 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.8911, allocations: 23.66 kB / 1.015 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.8911, allocations: 0 / 1.015 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8913, allocations: 318.7 kB / 1.015 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.8913, allocations: 12 kB / 1.015 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.8914, allocations: 20 kB / 1.015 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.8915, allocations: 24.12 kB / 1.015 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.8915, allocations: 4 kB / 1.015 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000205/0.8917, allocations: 73.62 kB / 1.015 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8918, allocations: 4 kB / 1.015 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8918, allocations: 0 / 1.015 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.8918, allocations: 0 / 1.015 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.892, allocations: 15.98 kB / 1.015 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.892, allocations: 0 / 1.015 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.8921, allocations: 0 / 1.015 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.8921, allocations: 4 kB / 1.015 GB, free: 6.098 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 (7): * Single equations (assignments): 7 * 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.634e-05/0.8922, allocations: 108.9 kB / 1.015 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.8922, allocations: 0 / 1.015 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.8926, allocations: 105.5 kB / 1.015 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8926, allocations: 4 kB / 1.015 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8927, allocations: 0 / 1.015 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.8927, allocations: 3.906 kB / 1.015 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.8928, allocations: 142.2 kB / 1.015 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8928, allocations: 0 / 1.015 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.893, allocations: 15.98 kB / 1.015 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8931, allocations: 0 / 1.015 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.8931, allocations: 4 kB / 1.015 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8931, allocations: 0 / 1.015 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8931, allocations: 0 / 1.015 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002855/0.8934, allocations: 125 kB / 1.016 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005201/0.8939, allocations: 0.5171 MB / 1.016 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.894, allocations: 77.11 kB / 1.016 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.894, allocations: 7.906 kB / 1.016 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.8942, allocations: 3.984 kB / 1.016 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.8942, allocations: 7.938 kB / 1.016 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.8943, allocations: 0 / 1.016 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.236e-05/0.8943, allocations: 75.28 kB / 1.016 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001058/0.8954, allocations: 16 kB / 1.016 GB, free: 4.789 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001739/0.8956, allocations: 111.2 kB / 1.016 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.8958, allocations: 43.94 kB / 1.016 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8958, allocations: 0 / 1.016 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.8958, allocations: 24 kB / 1.016 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.896, allocations: 0.625 kB / 1.016 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.8964, allocations: 100.2 kB / 1.017 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.8968, allocations: 0.6958 MB / 1.017 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of SimCode: time 7.02e-07/0.8968, allocations: 4 kB / 1.017 GB, free: 3.758 MB / 0.6667 GB