[: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 loadModel(Buildings): time 3.287/3.287, allocations: 404 MB / 410.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 6.319e-06/6.365e-06, allocations: 0 / 0.494 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1488, allocations: 92.76 MB / 0.5846 GB, free: 4.477 MB / 494.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.294/4.443, allocations: 2.182 GB / 2.767 GB, free: 175.1 MB / 0.7637 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/4.443, allocations: 68.34 kB / 2.767 GB, free: 175.1 MB / 0.7637 GB Notification: Performance of FrontEnd: time 0.09293/4.536, allocations: 28.92 MB / 2.795 GB, free: 150.7 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.6e-06/4.536, allocations: 4 kB / 2.795 GB, free: 150.7 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003544/4.536, allocations: 374.2 kB / 2.795 GB, free: 150.3 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/4.536, allocations: 20.02 kB / 2.796 GB, free: 150.3 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005951/4.537, allocations: 35.86 kB / 2.796 GB, free: 150.2 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.198e-05/4.537, allocations: 163 kB / 2.796 GB, free: 150 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.735e-06/4.537, allocations: 4 kB / 2.796 GB, free: 150 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/4.537, allocations: 15.91 kB / 2.796 GB, free: 150 MB / 0.7637 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/4.537, allocations: 23.98 kB / 2.796 GB, free: 150 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/4.537, allocations: 97.03 kB / 2.796 GB, free: 149.9 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.641e-06/4.538, allocations: 3.938 kB / 2.796 GB, free: 149.9 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/4.538, allocations: 0 / 2.796 GB, free: 149.9 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-06/4.538, allocations: 4 kB / 2.796 GB, free: 149.9 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/4.538, allocations: 0.5423 MB / 2.796 GB, free: 149.3 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.974e-05/4.538, allocations: 97.5 kB / 2.796 GB, free: 149.1 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/4.538, allocations: 31.5 kB / 2.797 GB, free: 149.1 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.725e-06/4.538, allocations: 0 / 2.797 GB, free: 149.1 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/4.538, allocations: 38.56 kB / 2.797 GB, free: 149 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=10): time 2.32e-06/4.538, allocations: 0 / 2.797 GB, free: 149 MB / 0.7637 GB Notification: Performance of matching and sorting (n=14): time 0.0008581/4.539, allocations: 366.1 kB / 2.797 GB, free: 148.6 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/4.539, allocations: 128.5 kB / 2.797 GB, free: 148.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/4.539, allocations: 101 kB / 2.797 GB, free: 148.4 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/4.539, allocations: 29.7 kB / 2.797 GB, free: 148.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/4.539, allocations: 84.05 kB / 2.797 GB, free: 148.2 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/4.539, allocations: 47.36 kB / 2.797 GB, free: 148.2 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-06/4.54, allocations: 4 kB / 2.797 GB, free: 148.2 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 5.292e-05/4.54, allocations: 322.8 kB / 2.798 GB, free: 147.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/4.54, allocations: 24.38 kB / 2.798 GB, free: 147.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/4.54, allocations: 80.73 kB / 2.798 GB, free: 147.8 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/4.54, allocations: 35.98 kB / 2.798 GB, free: 147.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-06/4.54, allocations: 3.906 kB / 2.798 GB, free: 147.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002423/4.54, allocations: 121.8 kB / 2.798 GB, free: 147.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/4.54, allocations: 8 kB / 2.798 GB, free: 147.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.278e-06/4.54, allocations: 0 / 2.798 GB, free: 147.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/4.54, allocations: 4 kB / 2.798 GB, free: 147.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/4.54, allocations: 44.27 kB / 2.798 GB, free: 147.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.713e-06/4.54, allocations: 8.062 kB / 2.798 GB, free: 147.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/4.54, allocations: 7.922 kB / 2.798 GB, free: 147.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/4.541, allocations: 8 kB / 2.798 GB, free: 147.5 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.196e-05/4.541, allocations: 104.9 kB / 2.798 GB, free: 147.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/4.541, allocations: 11.89 kB / 2.798 GB, free: 147.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/4.541, allocations: 16.06 kB / 2.798 GB, free: 147.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/4.541, allocations: 0 / 2.798 GB, free: 147.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.235e-06/4.541, allocations: 7.906 kB / 2.798 GB, free: 147.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.277e-06/4.541, allocations: 4 kB / 2.798 GB, free: 147.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/4.541, allocations: 166.2 kB / 2.798 GB, free: 147.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-06/4.541, allocations: 0 / 2.798 GB, free: 147.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/4.542, allocations: 31.98 kB / 2.798 GB, free: 147.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.653e-06/4.542, allocations: 0 / 2.798 GB, free: 147.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/4.542, allocations: 4 kB / 2.798 GB, free: 147.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.09e-06/4.542, allocations: 3.938 kB / 2.798 GB, free: 147.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.253e-06/4.542, allocations: 3.938 kB / 2.798 GB, free: 147.1 MB / 0.7637 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003386/4.542, allocations: 489.7 kB / 2.799 GB, free: 146.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/4.542, allocations: 93 kB / 2.799 GB, free: 146.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/4.542, allocations: 4 kB / 2.799 GB, free: 146.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/4.543, allocations: 11.91 kB / 2.799 GB, free: 146.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/4.543, allocations: 7.984 kB / 2.799 GB, free: 146.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/4.543, allocations: 8 kB / 2.799 GB, free: 146.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.845e-05/4.543, allocations: 83.27 kB / 2.799 GB, free: 146.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006423/4.543, allocations: 48 kB / 2.799 GB, free: 146.3 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0007688/4.544, allocations: 0.6598 MB / 2.8 GB, free: 145.7 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0002124/4.544, allocations: 67.92 kB / 2.8 GB, free: 145.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.457e-06/4.544, allocations: 4.312 kB / 2.8 GB, free: 145.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 5.528e-05/4.544, allocations: 32.81 kB / 2.8 GB, free: 145.6 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/4.545, allocations: 15.98 kB / 2.8 GB, free: 145.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/4.546, allocations: 430.3 kB / 2.8 GB, free: 145.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/4.546, allocations: 0.7152 MB / 2.801 GB, free: 144.4 MB / 0.7637 GB Notification: Performance of SimCode: time 8.86e-07/4.546, allocations: 0 / 2.801 GB, free: 144.4 MB / 0.7637 GB Notification: Performance of Templates: time 0.009634/4.556, allocations: 4.217 MB / 2.805 GB, free: 140.1 MB / 0.7637 GB make -j1 -f Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck.makefile clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck.c clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_functions.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_functions.c clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_records.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_records.c clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_01exo.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_01exo.c clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_02nls.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_02nls.c clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_03lsy.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_03lsy.c clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_04set.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_04set.c clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_05evt.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_05evt.c clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_06inz.o Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_06inz.c Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:21:80: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[16] /* cpCod DUMMY_STATE */ = (1006.0) * (1.0 - $Pstate$PX$lB1$rB) + (1860.0) * ($Pstate$PX$lB1$rB); ^ Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:21:113: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[16] /* cpCod DUMMY_STATE */ = (1006.0) * (1.0 - $Pstate$PX$lB1$rB) + (1860.0) * ($Pstate$PX$lB1$rB); ^ Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:47:91: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[17] /* cvCod DUMMY_STATE */ = (718.9487750470213) * (1.0 - $Pstate$PX$lB1$rB) + (1398.476670914912) * ($Pstate$PX$lB1$rB); ^ Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:47:135: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[17] /* cvCod DUMMY_STATE */ = (718.9487750470213) * (1.0 - $Pstate$PX$lB1$rB) + (1398.476670914912) * ($Pstate$PX$lB1$rB); ^ 4 errors generated. : recipe for target 'Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_06inz.o' failed make: *** [Buildings_5.0.1_Buildings.Media.Examples.AirDerivativeCheck_06inz.o] Error 1