Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Characteristics.Examples.LatentHeat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package FCSys with version 0.2.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(FCSys.Characteristics.Examples.LatentHeat,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_LatentHeat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FCSys.Characteristics.Examples.LatentHeat,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_LatentHeat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002081/0.002081, allocations: 170.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.2011/0.2011, allocations: 17.61 MB / 30.87 MB, free: 3.148 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.827/1.827, allocations: 170.6 MB / 206.5 MB, free: 5.617 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001663/0.001663, allocations: 110 kB / 250.4 MB, free: 8.281 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.49e-05/7.533e-05, allocations: 8.219 kB / 301.7 MB, free: 8.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 43.31 MB / 345 MB, free: 13.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5857, allocations: 110 MB / 455 MB, free: 2.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/0.5862, allocations: 75.97 kB / 455.1 MB, free: 2.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06625/0.6524, allocations: 20.74 MB / 475.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6525, allocations: 4 kB / 475.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.6525, allocations: 4 kB / 475.9 MB, free: 13.62 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000821/0.6534, allocations: 426.2 kB / 476.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.6534, allocations: 12.03 kB / 476.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.443e-05/0.6535, allocations: 37.91 kB / 476.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008178/0.6617, allocations: 1.326 MB / 477.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.6619, allocations: 167 kB / 477.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.662, allocations: 4 kB / 477.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.662, allocations: 8.328 kB / 477.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.6624, allocations: 197.3 kB / 478 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.6624, allocations: 4 kB / 478 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.6625, allocations: 4 kB / 478 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6625, allocations: 4 kB / 478 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.6628, allocations: 147.8 kB / 478.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.664, allocations: 0.6099 MB / 478.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.6644, allocations: 214.4 kB / 479 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.6646, allocations: 108.8 kB / 479.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.6646, allocations: 0 / 479.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6647, allocations: 34.56 kB / 479.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.6647, allocations: 0 / 479.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005421/0.6652, allocations: 241.5 kB / 479.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.6653, allocations: 57.69 kB / 479.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.6654, allocations: 89.19 kB / 479.5 MB, free: 9.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.6654, allocations: 29.7 kB / 479.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.6655, allocations: 92 kB / 479.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.6655, allocations: 27.64 kB / 479.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.6656, allocations: 0 / 479.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6657, allocations: 318.8 kB / 480 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.6659, allocations: 91.92 kB / 480.1 MB, free: 9.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.666, allocations: 97.25 kB / 480.2 MB, free: 9.121 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.6662, allocations: 83.92 kB / 480.2 MB, free: 9.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6662, allocations: 0 / 480.2 MB, free: 9.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004267/0.6666, allocations: 236 kB / 480.5 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6667, allocations: 8 kB / 480.5 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6667, allocations: 64 / 480.5 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6667, allocations: 4 kB / 480.5 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01908/0.6858, allocations: 2.037 MB / 482.5 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.6883, allocations: 1.035 MB / 483.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.6885, allocations: 31.94 kB / 483.6 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.6886, allocations: 23.97 kB / 483.6 MB, free: 5.641 MB / 362.7 MB 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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.6888, allocations: 111.2 kB / 483.7 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.6888, allocations: 4 kB / 483.7 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.6904, allocations: 0.5573 MB / 484.3 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6905, allocations: 4 kB / 484.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6905, allocations: 0 / 484.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6905, allocations: 0 / 484.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.6909, allocations: 307.6 kB / 484.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.6909, allocations: 11.94 kB / 484.6 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.6911, allocations: 43.91 kB / 484.6 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01628/0.7074, allocations: 1.843 MB / 486.5 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.7076, allocations: 11.98 kB / 486.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.7096, allocations: 0.927 MB / 487.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7096, allocations: 0 / 487.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.711, allocations: 0.552 MB / 488 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.7111, allocations: 85.02 kB / 488.1 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.7112, allocations: 8 kB / 488.1 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.7114, allocations: 31.97 kB / 488.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.7115, allocations: 15.97 kB / 488.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.7116, allocations: 19.94 kB / 488.1 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.801e-05/0.7116, allocations: 83.28 kB / 488.2 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7116, allocations: 4 kB / 488.2 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005347/0.7122, allocations: 72.05 kB / 488.3 MB, free: 0.8359 MB / 362.7 MB 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 (15): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002462/0.7147, allocations: 1.315 MB / 489.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02066/0.7353, allocations: 2.38 MB / 492 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7354, allocations: 0 / 492 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.737, allocations: 339.6 kB / 492.3 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.7373, allocations: 11.95 kB / 492.3 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.7384, allocations: 291.7 kB / 492.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.739, allocations: 0.7004 MB / 493.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.7391, allocations: 32.88 kB / 493.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.7393, allocations: 31.42 kB / 493.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.375e-06/0.7393, allocations: 0.9375 kB / 493.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.7632, allocations: 5.64 MB / 499 MB, free: 6.148 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/0.7636, allocations: 159.1 kB / 499.2 MB, free: 5.926 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o FCSys_FCSys_Characteristics_Examples_LatentHeat.o FCSys_FCSys_Characteristics_Examples_LatentHeat.c In file included from FCSys_FCSys_Characteristics_Examples_LatentHeat.c:7: In file included from ./FCSys_FCSys_Characteristics_Examples_LatentHeat_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:196:65: error: use of undeclared identifier 'T_lim_c' tmp6 = Less(data->localData[0]->realVars[11] /* T variable */,T_lim_c[2]); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:211:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp8, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:211:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp8, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:211:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp8, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:211:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp8, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:211:143: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp8, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:211:139: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp8, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:225:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp9, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:225:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp9, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:225:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp9, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:225:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp9, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_LatentHeat.c:286:65: error: use of undeclared identifier 'T_lim_c' tmp0 = Less(data->localData[0]->realVars[11] /* T variable */,T_lim_c[2]); ^ 7 warnings and 7 errors generated. make: *** [: FCSys_FCSys_Characteristics_Examples_LatentHeat.o] Error 1