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: translateModel(FCSys.Characteristics.Examples.LatentHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.LatentHeat") translateModel(FCSys.Characteristics.Examples.LatentHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.LatentHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001896/0.001896, allocations: 169.6 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.1716/0.1716, allocations: 17.61 MB / 30.86 MB, free: 3.16 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.846/1.846, allocations: 170.6 MB / 206.5 MB, free: 5.676 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.001845/0.001845, allocations: 109.9 kB / 250.4 MB, free: 8.281 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.763e-05/5.764e-05, allocations: 4 kB / 301.6 MB, free: 8.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 43.31 MB / 344.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5166/0.6715, allocations: 110 MB / 454.9 MB, free: 2.488 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.6719, allocations: 73.36 kB / 455 MB, free: 2.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0659/0.7379, allocations: 20.74 MB / 475.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7379, allocations: 4 kB / 475.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.738, allocations: 0 / 475.8 MB, free: 13.71 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.000811/0.7388, allocations: 418.2 kB / 476.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.7389, allocations: 8.031 kB / 476.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008032/0.7469, allocations: 1.324 MB / 477.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.7472, allocations: 163.1 kB / 477.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.7472, allocations: 0 / 477.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.7473, allocations: 8.344 kB / 477.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.7477, allocations: 181.3 kB / 477.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.7478, allocations: 0 / 477.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.7478, allocations: 7.938 kB / 477.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.7478, allocations: 4 kB / 477.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.7482, allocations: 147.8 kB / 478 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.7494, allocations: 0.5443 MB / 478.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.7498, allocations: 218.4 kB / 478.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.75, allocations: 108.8 kB / 478.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.75, allocations: 0 / 478.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.75, allocations: 38.56 kB / 478.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.75, allocations: 0 / 478.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005392/0.7506, allocations: 238.9 kB / 479.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.7506, allocations: 51.41 kB / 479.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.7507, allocations: 97 kB / 479.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.7508, allocations: 25.7 kB / 479.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.136e-05/0.7508, allocations: 92.06 kB / 479.4 MB, free: 9.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.7509, allocations: 23.62 kB / 479.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.7509, allocations: 0 / 479.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7511, allocations: 318.8 kB / 479.7 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.7512, allocations: 91.88 kB / 479.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.7514, allocations: 98.27 kB / 479.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.7516, allocations: 88.73 kB / 480 MB, free: 9.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7516, allocations: 0 / 480 MB, free: 9.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004285/0.752, allocations: 233.5 kB / 480.2 MB, free: 9.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.752, allocations: 12 kB / 480.2 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.752, allocations: 256 / 480.3 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.7521, allocations: 3.984 kB / 480.3 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01898/0.7711, allocations: 2.029 MB / 482.3 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.7734, allocations: 1.031 MB / 483.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.7738, allocations: 43.89 kB / 483.4 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.7739, allocations: 29.59 kB / 483.4 MB, free: 5.871 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.0001362/0.774, allocations: 111 kB / 483.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.7741, allocations: 4 kB / 483.5 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.7757, allocations: 0.5496 MB / 484 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.7757, allocations: 3.953 kB / 484.1 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.7758, allocations: 0 / 484.1 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7758, allocations: 0 / 484.1 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.7762, allocations: 296.8 kB / 484.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7762, allocations: 0 / 484.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.7764, allocations: 51.95 kB / 484.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01615/0.7926, allocations: 1.839 MB / 486.2 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.7928, allocations: 11.97 kB / 486.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.7948, allocations: 0.9348 MB / 487.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7948, allocations: 4.031 kB / 487.2 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.7963, allocations: 0.5526 MB / 487.7 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.7964, allocations: 87.64 kB / 487.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.7964, allocations: 4 kB / 487.8 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.7967, allocations: 31.97 kB / 487.9 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.7968, allocations: 16.02 kB / 487.9 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.7968, allocations: 27.97 kB / 487.9 MB, free: 1.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.755e-05/0.7969, allocations: 79.28 kB / 488 MB, free: 1.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.7969, allocations: 0 / 488 MB, free: 1.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.7974, allocations: 71.94 kB / 488 MB, free: 1.082 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.00054/0.798, allocations: 175 kB / 488.2 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02105/0.819, allocations: 2.365 MB / 490.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.8191, allocations: 0 / 490.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.8207, allocations: 343.6 kB / 490.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.821, allocations: 15.39 kB / 490.9 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.8217, allocations: 217.2 kB / 491.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.822, allocations: 0.6965 MB / 491.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.8222, allocations: 24.84 kB / 491.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.8223, allocations: 19.42 kB / 491.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.933e-06/0.8223, allocations: 4 kB / 491.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01014/0.8324, allocations: 4.344 MB / 496.2 MB, free: 8.848 MB / 378.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Characteristics_Examples_LatentHeat -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Characteristics.Examples.LatentHeat.o FCSys_FCSys.Characteristics.Examples.LatentHeat.c FCSys_FCSys.Characteristics.Examples.LatentHeat.c:202:65: error: use of undeclared identifier 'T_lim_c' tmp7 = Less(data->localData[0]->realVars[11] /* T variable */,T_lim_c[2]); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:217:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp9, 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:217:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp9, 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:217:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp9, 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:217:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp9, 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:217:143: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp9, 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:217:139: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp9, 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:231:83: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp10, 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:231:79: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp10, 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:231:109: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp10, 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:231:105: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp10, 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:292:65: error: use of undeclared identifier 'T_lim_c' tmp0 = Less(data->localData[0]->realVars[11] /* T variable */,T_lim_c[2]); ^ 5 warnings and 7 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.LatentHeat.o] Error 1