Notification: Performance of loadModel(Modelica): time 1.583/1.583, allocations: 194.3 MB / 200.5 MB, free: 5.301 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.359e-06/9.498e-06, allocations: 1.062 kB / 247.1 MB, free: 4.867 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0599/0.05998, allocations: 44.32 MB / 291.4 MB, free: 9.562 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3172/0.3773, allocations: 186.9 MB / 478.3 MB, free: 2.25 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.3776, allocations: 83.12 kB / 478.4 MB, free: 2.207 MB / 376.6 MB Notification: Performance of FrontEnd: time 0.2238/0.6015, allocations: 29.72 MB / 0.4962 GB, free: 98.93 MB / 392.6 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.6016, allocations: 3.938 kB / 0.4962 GB, free: 98.93 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.000472/0.6021, allocations: 433.4 kB / 0.4966 GB, free: 98.53 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.6022, allocations: 11.69 kB / 0.4966 GB, free: 98.53 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.6028, allocations: 30.77 kB / 0.4966 GB, free: 98.53 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.6031, allocations: 206.5 kB / 0.4968 GB, free: 98.32 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.6032, allocations: 3.969 kB / 0.4968 GB, free: 98.32 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.6032, allocations: 5.219 kB / 0.4968 GB, free: 98.32 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002583/0.6035, allocations: 107.9 kB / 0.4969 GB, free: 98.32 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.6038, allocations: 130 kB / 0.4971 GB, free: 98.26 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6039, allocations: 3.906 kB / 0.4971 GB, free: 98.25 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.604, allocations: 0 / 0.4971 GB, free: 98.25 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-06/0.604, allocations: 7.406 kB / 0.4971 GB, free: 98.25 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.6048, allocations: 0.6072 MB / 0.4977 GB, free: 97.76 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.605, allocations: 84.36 kB / 0.4977 GB, free: 97.74 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.6051, allocations: 31.89 kB / 0.4978 GB, free: 97.73 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/0.6058, allocations: 0.8555 MB / 0.4986 GB, free: 96.79 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.6059, allocations: 30.56 kB / 0.4986 GB, free: 96.75 MB / 392.6 MB Notification: Performance of pre-optimization done (n=13): time 3.632e-06/0.606, allocations: 3.75 kB / 0.4986 GB, free: 96.75 MB / 392.6 MB Notification: Performance of matching and sorting (n=13): time 0.001454/0.6075, allocations: 158.7 kB / 0.4988 GB, free: 96.71 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.6076, allocations: 58.09 kB / 0.4988 GB, free: 96.64 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.6077, allocations: 110 kB / 0.499 GB, free: 96.55 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.6078, allocations: 25.7 kB / 0.499 GB, free: 96.52 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.6079, allocations: 103.3 kB / 0.4991 GB, free: 96.42 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.608, allocations: 44.16 kB / 0.4991 GB, free: 96.39 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.6081, allocations: 2.688 kB / 0.4991 GB, free: 96.39 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.6082, allocations: 313.2 kB / 0.4994 GB, free: 96.08 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.6083, allocations: 26.59 kB / 0.4994 GB, free: 96.08 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-05/0.6084, allocations: 70.16 kB / 0.4995 GB, free: 96.03 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.6097, allocations: 90.55 kB / 0.4996 GB, free: 96.03 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-06/0.6097, allocations: 3.688 kB / 0.4996 GB, free: 96.03 MB / 392.6 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001372/0.6112, allocations: 186.7 kB / 0.4998 GB, free: 95.99 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6112, allocations: 3.219 kB / 0.4998 GB, free: 95.99 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.499e-06/0.6113, allocations: 8.859 kB / 0.4998 GB, free: 95.99 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6114, allocations: 3.562 kB / 0.4998 GB, free: 95.99 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.6116, allocations: 42.33 kB / 0.4998 GB, free: 95.98 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.682e-06/0.6117, allocations: 3.938 kB / 0.4998 GB, free: 95.98 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.6119, allocations: 15 kB / 0.4999 GB, free: 95.97 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.612, allocations: 15.03 kB / 0.4999 GB, free: 95.97 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.6121, allocations: 75.28 kB / 0.4999 GB, free: 95.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.6122, allocations: 7.844 kB / 0.4999 GB, free: 95.89 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.6141, allocations: 348 kB / 0.5003 GB, free: 95.82 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.6142, allocations: 11.19 kB / 0.5003 GB, free: 95.81 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.937e-06/0.6142, allocations: 3.938 kB / 0.5003 GB, free: 95.81 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.6143, allocations: 0 / 0.5003 GB, free: 95.81 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.6159, allocations: 0.4965 MB / 0.5008 GB, free: 95.53 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.588e-06/0.616, allocations: 0 / 0.5008 GB, free: 95.53 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.6162, allocations: 23.31 kB / 0.5008 GB, free: 95.53 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.822e-06/0.6163, allocations: 3.906 kB / 0.5008 GB, free: 95.52 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.6163, allocations: 6.656 kB / 0.5008 GB, free: 95.52 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.702e-06/0.6164, allocations: 4 kB / 0.5008 GB, free: 95.52 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.378e-06/0.6165, allocations: 3.938 kB / 0.5008 GB, free: 95.52 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00122/0.6177, allocations: 309.3 kB / 0.5011 GB, free: 95.38 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6179, allocations: 110 kB / 0.5012 GB, free: 95.27 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.618, allocations: 0 / 0.5012 GB, free: 95.27 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.6182, allocations: 3.812 kB / 0.5012 GB, free: 95.27 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.6183, allocations: 10.81 kB / 0.5012 GB, free: 95.27 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.6184, allocations: 16.56 kB / 0.5012 GB, free: 95.27 MB / 392.6 MB Notification: Performance of sort global known variables: time 5.015e-05/0.6185, allocations: 90.28 kB / 0.5013 GB, free: 95.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0005881/0.6191, allocations: 94.06 kB / 0.5014 GB, free: 95.18 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005094/0.6197, allocations: 185.5 kB / 0.5016 GB, free: 95.09 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.62, allocations: 112.3 kB / 0.5017 GB, free: 95.08 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.6201, allocations: 320 / 0.5017 GB, free: 95.08 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.6203, allocations: 64.94 kB / 0.5018 GB, free: 95.07 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.6208, allocations: 45.95 kB / 0.5018 GB, free: 95.07 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.6213, allocations: 158.7 kB / 0.502 GB, free: 94.98 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.6217, allocations: 0.7521 MB / 0.5027 GB, free: 94.27 MB / 392.6 MB Notification: Performance of SimCode: time 2.026e-06/0.6217, allocations: 0 / 0.5027 GB, free: 94.27 MB / 392.6 MB Notification: Performance of Templates: time 0.0425/0.6643, allocations: 3.388 MB / 0.506 GB, free: 93.87 MB / 392.6 MB make -j1 -f Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol.makefile clang -fPIC -O2 -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=Modelica_3_2_2__O2_Modelica_Media_Incompressible_Examples_TestGlycol -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 Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol.o Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol.c clang -fPIC -O2 -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=Modelica_3_2_2__O2_Modelica_Media_Incompressible_Examples_TestGlycol -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 Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol_functions.o Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol_functions.c Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol_functions.c:267:86: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol_functions.c:267:191: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ 2 errors generated. : recipe for target 'Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol_functions.o' failed make: *** [Modelica_3.2.2__O2_Modelica.Media.Incompressible.Examples.TestGlycol_functions.o] Error 1