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.0068/0.0068, allocations: 164.8 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1074/0.1074, allocations: 17.62 MB / 33.47 MB, free: 1.418 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.605/1.605, allocations: 170.8 MB / 209.5 MB, free: 15.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001767/0.001767, allocations: 115.4 kB / 253.6 MB, free: 8.285 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004934, allocations: 12 kB / 307.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3424, allocations: 43.3 MB / 350.7 MB, free: 36.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.8171, allocations: 110.1 MB / 460.9 MB, free: 45.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.8175, allocations: 86.22 kB / 460.9 MB, free: 45.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06003/0.8775, allocations: 20.77 MB / 481.7 MB, free: 41.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.8776, allocations: 0 / 481.7 MB, free: 41.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.8776, allocations: 0 / 481.7 MB, free: 41.25 MB / 330.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.000788/0.8784, allocations: 444 kB / 482.1 MB, free: 40.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.8785, allocations: 7.812 kB / 482.2 MB, free: 40.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007709/0.8862, allocations: 1.305 MB / 483.5 MB, free: 40.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.8864, allocations: 178.9 kB / 483.6 MB, free: 39.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.8865, allocations: 3.938 kB / 483.6 MB, free: 39.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.8865, allocations: 4.25 kB / 483.6 MB, free: 39.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.8871, allocations: 235.5 kB / 483.9 MB, free: 39.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.8871, allocations: 0 / 483.9 MB, free: 39.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.8872, allocations: 3.984 kB / 483.9 MB, free: 39.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.8872, allocations: 0 / 483.9 MB, free: 39.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.8878, allocations: 237.6 kB / 484.1 MB, free: 39.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.8887, allocations: 0.5472 MB / 484.7 MB, free: 39.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.8894, allocations: 320.1 kB / 485 MB, free: 39.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.8895, allocations: 3.812 kB / 485 MB, free: 39.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.8895, allocations: 38.12 kB / 485 MB, free: 39.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.8895, allocations: 0 / 485 MB, free: 39.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001252/0.8908, allocations: 0.5021 MB / 485.5 MB, free: 39.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.8908, allocations: 55.34 kB / 485.6 MB, free: 39.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.8909, allocations: 96.73 kB / 485.7 MB, free: 38.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.8909, allocations: 29.39 kB / 485.7 MB, free: 38.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.891, allocations: 84.05 kB / 485.8 MB, free: 38.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.891, allocations: 27.39 kB / 485.8 MB, free: 38.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.8911, allocations: 3.875 kB / 485.8 MB, free: 38.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.8912, allocations: 314.4 kB / 486.1 MB, free: 38.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.8915, allocations: 152.3 kB / 486.3 MB, free: 38.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.8918, allocations: 147.4 kB / 486.4 MB, free: 38.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.8922, allocations: 145.9 kB / 486.5 MB, free: 38.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8922, allocations: 3.953 kB / 486.5 MB, free: 38.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007384/0.8929, allocations: 363.3 kB / 486.9 MB, free: 38.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.893, allocations: 7.75 kB / 486.9 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.893, allocations: 0 / 486.9 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.893, allocations: 3.938 kB / 486.9 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01871/0.9117, allocations: 2.03 MB / 488.9 MB, free: 37.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.9148, allocations: 1.12 MB / 490.1 MB, free: 36.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.9151, allocations: 27.28 kB / 490.1 MB, free: 36.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/0.9153, allocations: 19.66 kB / 490.1 MB, free: 36.84 MB / 330.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 () * Number of clocked 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.0002162/0.9155, allocations: 117.7 kB / 490.2 MB, free: 36.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.9156, allocations: 3.719 kB / 490.2 MB, free: 36.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.9178, allocations: 0.7006 MB / 490.9 MB, free: 36.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.9178, allocations: 3.953 kB / 490.9 MB, free: 36.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.9178, allocations: 3.984 kB / 490.9 MB, free: 36.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.9178, allocations: 3.984 kB / 490.9 MB, free: 36.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.9183, allocations: 299.1 kB / 491.2 MB, free: 36.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.9183, allocations: 3.984 kB / 491.2 MB, free: 36.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.9185, allocations: 42.5 kB / 491.3 MB, free: 36.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01562/0.9341, allocations: 1.892 MB / 493.2 MB, free: 35.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.9343, allocations: 15.69 kB / 493.2 MB, free: 35.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.9365, allocations: 1.016 MB / 494.2 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9365, allocations: 3.875 kB / 494.2 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.9384, allocations: 0.7015 MB / 494.9 MB, free: 34.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.9385, allocations: 81.02 kB / 495 MB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.9386, allocations: 7.625 kB / 495 MB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.9388, allocations: 35.12 kB / 495 MB, free: 34.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.9389, allocations: 11.61 kB / 495 MB, free: 34.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.939, allocations: 19.47 kB / 495.1 MB, free: 34.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.9391, allocations: 82.84 kB / 495.1 MB, free: 34.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9391, allocations: 0 / 495.1 MB, free: 34.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006482/0.9397, allocations: 73.3 kB / 495.2 MB, free: 34.5 MB / 330.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 () * Number of clocked 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.0005475/0.9403, allocations: 168.1 kB / 495.4 MB, free: 34.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.02018/0.9605, allocations: 2.479 MB / 497.9 MB, free: 33.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.9606, allocations: 4 kB / 497.9 MB, free: 33.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.9623, allocations: 405.8 kB / 498.3 MB, free: 33.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.9626, allocations: 11.52 kB / 498.3 MB, free: 33.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.9635, allocations: 387.9 kB / 498.6 MB, free: 33.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.9637, allocations: 0.697 MB / 499.3 MB, free: 32.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.9638, allocations: 36.09 kB / 499.4 MB, free: 32.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.9639, allocations: 19.02 kB / 499.4 MB, free: 32.55 MB / 330.7 MB Notification: Performance of SimCode: time 2.425e-06/0.9639, allocations: 0 / 499.4 MB, free: 32.55 MB / 330.7 MB Notification: Performance of Templates: time 0.00898/0.9729, allocations: 4.48 MB / 0.4921 GB, free: 28.76 MB / 330.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:80: error: use of undeclared identifier 'T_lim_c' tmp7 = Less(data->localData[0]->realVars[11] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2))); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:217:93: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 3)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 2))) * (2.0), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 1))) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:217:181: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 3)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 2))) * (2.0), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 1))) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:217:278: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp9, 4, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 3)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 2))) * (2.0), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 1))) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:231:94: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp10, 3, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 2)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 1))) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:231:182: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp10, 3, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 2)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 1))) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.LatentHeat.c:292:80: error: use of undeclared identifier 'T_lim_c' tmp0 = Less(data->localData[0]->realVars[11] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2))); ^ 7 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.LatentHeat.o] Error 1