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.00121/0.00121, allocations: 167.3 kB / 15.96 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1055/0.1055, allocations: 17.63 MB / 34.33 MB, free: 1.109 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.366/1.366, allocations: 170.8 MB / 210.4 MB, free: 12.4 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.001595/0.001595, allocations: 105.8 kB / 254.5 MB, free: 0.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004277, allocations: 13.27 kB / 308.5 MB, free: 49.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08279/0.08324, allocations: 43.31 MB / 351.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3199/0.4031, allocations: 110.1 MB / 461.9 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4034, allocations: 82.59 kB / 462 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05197/0.4554, allocations: 20.71 MB / 482.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4554, allocations: 0 / 482.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.4554, allocations: 0 / 482.7 MB, free: 13.25 MB / 314.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.0005853/0.456, allocations: 434.4 kB / 483.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4561, allocations: 8.031 kB / 483.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/0.4637, allocations: 1.314 MB / 484.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.4638, allocations: 172.3 kB / 484.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4638, allocations: 384 / 484.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.4639, allocations: 11.94 kB / 484.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.4644, allocations: 239.7 kB / 484.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4644, allocations: 192 / 484.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.4644, allocations: 3.938 kB / 484.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4644, allocations: 0 / 484.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.465, allocations: 234.5 kB / 485.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.4657, allocations: 0.5476 MB / 485.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.4664, allocations: 325.7 kB / 486 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.4667, allocations: 169.7 kB / 486.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.4668, allocations: 0 / 486.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.4668, allocations: 30.56 kB / 486.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.4668, allocations: 0 / 486.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.001176/0.468, allocations: 0.5002 MB / 486.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.468, allocations: 51.41 kB / 486.7 MB, free: 9.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.4681, allocations: 109.1 kB / 486.8 MB, free: 9.172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4681, allocations: 29.02 kB / 486.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.4681, allocations: 84.14 kB / 486.9 MB, free: 9.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.4682, allocations: 30.89 kB / 487 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.4682, allocations: 0 / 487 MB, free: 9.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.4682, allocations: 314.2 kB / 487.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.4686, allocations: 150.8 kB / 487.4 MB, free: 8.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.4689, allocations: 155 kB / 487.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.4696, allocations: 292.9 kB / 487.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4696, allocations: 0 / 487.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007449/0.4703, allocations: 366.2 kB / 488.2 MB, free: 7.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4703, allocations: 4 kB / 488.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4704, allocations: 3.984 kB / 488.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4704, allocations: 3.984 kB / 488.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01861/0.489, allocations: 2.033 MB / 490.3 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.4911, allocations: 1.115 MB / 491.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.4913, allocations: 36.03 kB / 491.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.4914, allocations: 19.97 kB / 491.4 MB, free: 4.648 MB / 314.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 9.379e-05/0.4915, allocations: 113.5 kB / 491.5 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.4915, allocations: 7.844 kB / 491.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.4934, allocations: 0.6975 MB / 492.2 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4934, allocations: 4 kB / 492.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4934, allocations: 0 / 492.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4934, allocations: 4 kB / 492.2 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.4937, allocations: 298.2 kB / 492.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4937, allocations: 0 / 492.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.4939, allocations: 51.83 kB / 492.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01537/0.5093, allocations: 1.894 MB / 494.5 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.5094, allocations: 19.91 kB / 494.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.5112, allocations: 1.01 MB / 495.5 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5113, allocations: 4.031 kB / 495.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.513, allocations: 0.6939 MB / 496.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.513, allocations: 85.06 kB / 496.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.5131, allocations: 7.547 kB / 496.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.5133, allocations: 35.53 kB / 496.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.5134, allocations: 7.984 kB / 496.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.5134, allocations: 27.97 kB / 496.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.5135, allocations: 82.78 kB / 496.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5135, allocations: 4 kB / 496.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004548/0.5139, allocations: 75 kB / 496.5 MB, free: 15.63 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.0003488/0.5143, allocations: 170.6 kB / 496.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.02408/0.5384, allocations: 2.973 MB / 499.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5384, allocations: 0 / 499.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.5401, allocations: 399.2 kB / 0.4883 GB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.5404, allocations: 7.375 kB / 0.4883 GB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/0.5412, allocations: 394.1 kB / 0.4887 GB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.5415, allocations: 0.6932 MB / 0.4894 GB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.5416, allocations: 28.84 kB / 0.4894 GB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.5417, allocations: 19.42 kB / 0.4894 GB, free: 11.04 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5417, allocations: 0 / 0.4894 GB, free: 11.04 MB / 330.7 MB Notification: Performance of Templates: time 0.007724/0.5494, allocations: 4.498 MB / 0.4938 GB, free: 6.551 MB / 330.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.LatentHeat.makefile b'clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:211:80: error: use of undeclared identifier \'T_lim_c\'\n tmp7 = Less(data->localData[0]->realVars[11] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2)));\n ^\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:226:93: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:226:181: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:226:278: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:240:94: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:240:182: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:301:80: error: use of undeclared identifier \'T_lim_c\'\n tmp0 = Less(data->localData[0]->realVars[11] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2)));\n ^\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:624:14: warning: incompatible pointer types assigning to \'void (*)(threadData_t *, FILE_INFO, const char *, ...) __attribute__((noreturn))\' (aka \'void (*)(struct threadData_s *, struct _FILE_INFO, const char *, ...) __attribute__((noreturn))\') from \'void (threadData_t *, FILE_INFO, const char *, ...)\' (aka \'void (struct threadData_s *, struct _FILE_INFO, const char *, ...)\') [-Wincompatible-pointer-types]\n omc_assert = omc_assert_simulation;\n ^ ~~~~~~~~~~~~~~~~~~~~~\nFCSys_FCSys.Characteristics.Examples.LatentHeat.c:630:13: warning: incompatible pointer types assigning to \'void (*)(threadData_t *) __attribute__((noreturn))\' (aka \'void (*)(struct threadData_s *) __attribute__((noreturn))\') from \'void (threadData_t *)\' (aka \'void (struct threadData_s *)\') [-Wincompatible-pointer-types]\n omc_throw = omc_throw_simulation;\n ^ ~~~~~~~~~~~~~~~~~~~~\n2 warnings and 7 errors generated.\nmake: *** [: FCSys_FCSys.Characteristics.Examples.LatentHeat.o] Error 1\n'