Notification: Performance of FrontEnd - loaded program: time 8.171e-06/8.241e-06, allocations: 1.125 kB / 439.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 78.98 MB / 0.5065 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.076/3.186, allocations: 2.115 GB / 2.621 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/3.186, allocations: 68.41 kB / 2.621 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.1835/3.37, allocations: 26.59 MB / 2.647 GB, free: 242 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.097e-05/3.37, allocations: 2.75 kB / 2.647 GB, free: 242 MB / 0.6544 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.0004357/3.371, allocations: 376.3 kB / 2.648 GB, free: 241.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/3.371, allocations: 6.875 kB / 2.648 GB, free: 241.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006351/3.371, allocations: 43.83 kB / 2.648 GB, free: 241.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.8e-05/3.372, allocations: 167.1 kB / 2.648 GB, free: 241.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/3.372, allocations: 6.109 kB / 2.648 GB, free: 241.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/3.372, allocations: 10.2 kB / 2.648 GB, free: 241.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.338e-05/3.372, allocations: 26.31 kB / 2.648 GB, free: 241.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/3.372, allocations: 80.5 kB / 2.648 GB, free: 241.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/3.372, allocations: 0.7969 kB / 2.648 GB, free: 241.4 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/3.372, allocations: 0 / 2.648 GB, free: 241.4 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-06/3.372, allocations: 2.75 kB / 2.648 GB, free: 241.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/3.373, allocations: 0.5634 MB / 2.649 GB, free: 240.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.68e-05/3.373, allocations: 92.45 kB / 2.649 GB, free: 240.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/3.373, allocations: 30.22 kB / 2.649 GB, free: 240.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/3.373, allocations: 6.656 kB / 2.649 GB, free: 240.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/3.373, allocations: 35.47 kB / 2.649 GB, free: 240.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.514e-06/3.373, allocations: 0 / 2.649 GB, free: 240.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0009157/3.374, allocations: 357.1 kB / 2.649 GB, free: 240.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003855/3.375, allocations: 46.06 kB / 2.649 GB, free: 240.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.152e-05/3.375, allocations: 4.984 kB / 2.649 GB, free: 240.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.499e-05/3.375, allocations: 227.7 kB / 2.649 GB, free: 240.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/3.375, allocations: 27.2 kB / 2.649 GB, free: 240 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/3.375, allocations: 82.22 kB / 2.649 GB, free: 239.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/3.375, allocations: 33.86 kB / 2.649 GB, free: 239.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/3.375, allocations: 0 / 2.649 GB, free: 239.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.322e-05/3.375, allocations: 319.3 kB / 2.65 GB, free: 239.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/3.376, allocations: 10.83 kB / 2.65 GB, free: 239.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/3.376, allocations: 60.31 kB / 2.65 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.761e-05/3.376, allocations: 25.67 kB / 2.65 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-06/3.376, allocations: 0 / 2.65 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002405/3.376, allocations: 106.8 kB / 2.65 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/3.376, allocations: 8.375 kB / 2.65 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/3.376, allocations: 5.875 kB / 2.65 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/3.376, allocations: 4.359 kB / 2.65 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/3.377, allocations: 36.83 kB / 2.65 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/3.377, allocations: 3.047 kB / 2.65 GB, free: 239.5 MB / 0.6544 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 0.0001604/3.377, allocations: 108.7 kB / 2.65 GB, free: 239.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/3.377, allocations: 6.469 kB / 2.65 GB, free: 239.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/3.377, allocations: 17.86 kB / 2.65 GB, free: 239.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.682e-06/3.377, allocations: 6.281 kB / 2.65 GB, free: 239.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.031e-06/3.378, allocations: 5.312 kB / 2.65 GB, free: 239.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.87e-06/3.378, allocations: 2.078 kB / 2.65 GB, free: 239.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/3.378, allocations: 308.8 kB / 2.65 GB, free: 239 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-06/3.378, allocations: 0.6562 kB / 2.65 GB, free: 239 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/3.379, allocations: 39.62 kB / 2.65 GB, free: 239 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.613e-06/3.379, allocations: 1.938 kB / 2.65 GB, free: 239 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/3.379, allocations: 3.375 kB / 2.65 GB, free: 239 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.797e-06/3.379, allocations: 0.6562 kB / 2.65 GB, free: 239 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.981e-06/3.379, allocations: 2.562 kB / 2.65 GB, free: 239 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003075/3.379, allocations: 452.6 kB / 2.651 GB, free: 238.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/3.379, allocations: 91.73 kB / 2.651 GB, free: 238.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/3.379, allocations: 2.859 kB / 2.651 GB, free: 238.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/3.38, allocations: 6.438 kB / 2.651 GB, free: 238.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/3.38, allocations: 9.391 kB / 2.651 GB, free: 238.5 MB / 0.6544 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.001017/3.381, allocations: 0.6647 MB / 2.652 GB, free: 238.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001899/3.381, allocations: 63.08 kB / 2.652 GB, free: 238.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.098e-06/3.381, allocations: 5.812 kB / 2.652 GB, free: 238.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/3.382, allocations: 25.45 kB / 2.652 GB, free: 238.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/3.382, allocations: 9.672 kB / 2.652 GB, free: 238.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009353/3.383, allocations: 0.5313 MB / 2.652 GB, free: 237.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/3.383, allocations: 0.8366 MB / 2.653 GB, free: 237 MB / 0.6544 GB Notification: Performance of SimCode: time 1.956e-06/3.383, allocations: 1.094 kB / 2.653 GB, free: 237 MB / 0.6544 GB Notification: Performance of Templates: time 0.05074/3.434, allocations: 4.27 MB / 2.657 GB, free: 236.2 MB / 0.6544 GB Error: Error building simulator. Build log: 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_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_Buildings.Media.Examples.AirDerivativeCheck.o Buildings_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_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_Buildings.Media.Examples.AirDerivativeCheck_functions.o Buildings_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_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_Buildings.Media.Examples.AirDerivativeCheck_records.o Buildings_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_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_Buildings.Media.Examples.AirDerivativeCheck_01exo.o Buildings_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_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_Buildings.Media.Examples.AirDerivativeCheck_02nls.o Buildings_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_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_Buildings.Media.Examples.AirDerivativeCheck_03lsy.o Buildings_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_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_Buildings.Media.Examples.AirDerivativeCheck_04set.o Buildings_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_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_Buildings.Media.Examples.AirDerivativeCheck_05evt.o Buildings_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_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_Buildings.Media.Examples.AirDerivativeCheck_06inz.o Buildings_Buildings.Media.Examples.AirDerivativeCheck_06inz.c Buildings_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:21: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_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:21: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); ^ Buildings_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:47: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_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:47: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); ^ 4 errors generated. : recipe for target 'Buildings_Buildings.Media.Examples.AirDerivativeCheck_06inz.o' failed make: *** [Buildings_Buildings.Media.Examples.AirDerivativeCheck_06inz.o] Error 1