Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002434/0.002435, allocations: 186.8 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.2 MB / 213.4 MB, free: 13.95 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 84.02 kB / 261.4 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2686/0.2686, allocations: 37.96 MB / 347.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/8.826e-06, allocations: 4 kB / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.09884, allocations: 56.31 MB / 465.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4567, allocations: 86.27 MB / 0.539 GB, free: 8.633 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.4571, allocations: 75.95 kB / 0.539 GB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.007361/0.4644, allocations: 1.373 MB / 0.5404 GB, free: 7.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4645, allocations: 8 kB / 0.5404 GB, free: 7.191 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003991/0.4649, allocations: 412.1 kB / 0.5408 GB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4649, allocations: 8.031 kB / 0.5408 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.465, allocations: 15.81 kB / 0.5408 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.4653, allocations: 187.7 kB / 0.541 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.4653, allocations: 4 kB / 0.541 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4653, allocations: 0 / 0.541 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001384/0.4655, allocations: 59.97 kB / 0.541 GB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.4657, allocations: 89.67 kB / 0.5411 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4657, allocations: 4 kB / 0.5411 GB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4657, allocations: 0 / 0.5411 GB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4657, allocations: 0 / 0.5411 GB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.4659, allocations: 154 kB / 0.5413 GB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.4661, allocations: 102.4 kB / 0.5414 GB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.4662, allocations: 84.86 kB / 0.5415 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.4662, allocations: 0 / 0.5415 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.4663, allocations: 38.56 kB / 0.5415 GB, free: 5.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.324e-06/0.4663, allocations: 0 / 0.5415 GB, free: 5.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004807/0.4668, allocations: 236.3 kB / 0.5417 GB, free: 5.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.4669, allocations: 97.09 kB / 0.5418 GB, free: 5.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.467, allocations: 117.2 kB / 0.5419 GB, free: 5.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4671, allocations: 29.7 kB / 0.542 GB, free: 5.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.4672, allocations: 151 kB / 0.5421 GB, free: 5.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.4673, allocations: 70.91 kB / 0.5422 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.4673, allocations: 0 / 0.5422 GB, free: 5.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4674, allocations: 330.8 kB / 0.5425 GB, free: 4.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4676, allocations: 55.98 kB / 0.5425 GB, free: 4.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.4677, allocations: 57.83 kB / 0.5426 GB, free: 4.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.4679, allocations: 83.95 kB / 0.5427 GB, free: 4.652 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4679, allocations: 0 / 0.5427 GB, free: 4.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004103/0.4683, allocations: 233.4 kB / 0.5429 GB, free: 4.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4683, allocations: 4 kB / 0.5429 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4684, allocations: 0 / 0.5429 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4684, allocations: 0 / 0.5429 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.4684, allocations: 64 / 0.5429 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4684, allocations: 4 kB / 0.5429 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.4684, allocations: 11.84 kB / 0.5429 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.4685, allocations: 0 / 0.5429 GB, free: 4.398 MB / 378.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.4686, allocations: 95.31 kB / 0.543 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.4687, allocations: 15.81 kB / 0.543 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.4687, allocations: 16.83 kB / 0.543 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4687, allocations: 0 / 0.543 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4687, allocations: 0 / 0.543 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4688, allocations: 3.984 kB / 0.543 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.4689, allocations: 181.9 kB / 0.5432 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.469, allocations: 0 / 0.5432 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.469, allocations: 0 / 0.5432 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.469, allocations: 0 / 0.5432 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.469, allocations: 4 kB / 0.5432 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.469, allocations: 0 / 0.5432 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/0.469, allocations: 7.922 kB / 0.5432 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007807/0.4698, allocations: 408.6 kB / 0.5436 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.4699, allocations: 100.9 kB / 0.5437 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.47, allocations: 4 kB / 0.5437 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.841e-05/0.47, allocations: 4 kB / 0.5437 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.4701, allocations: 7.938 kB / 0.5437 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.4701, allocations: 8 kB / 0.5437 GB, free: 3.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.911e-05/0.4702, allocations: 104.5 kB / 0.5438 GB, free: 3.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.4705, allocations: 35.91 kB / 0.5439 GB, free: 3.332 MB / 378.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.4707, allocations: 111.2 kB / 0.544 GB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.4712, allocations: 261.6 kB / 0.5442 GB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4712, allocations: 0 / 0.5442 GB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007859/0.472, allocations: 0.5483 MB / 0.5448 GB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4723, allocations: 9.094 kB / 0.5448 GB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008019/0.4731, allocations: 365 kB / 0.5451 GB, free: 2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.4735, allocations: 0.7312 MB / 0.5458 GB, free: 1.238 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4735, allocations: 128 / 0.5458 GB, free: 1.238 MB / 378.7 MB Notification: Performance of Templates: time 0.004209/0.4777, allocations: 1.439 MB / 0.5472 GB, free: 15.8 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=7 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2Functions.cpp:37:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp7;\n ^\n1 error generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o] Error 1\n'