Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [: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.002457/0.002457, allocations: 186.1 kB / 7.806 MB, free: 2.441 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.759/1.759, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.00161/0.00161, allocations: 90.12 kB / 261.4 MB, free: 13.61 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.2645/0.2645, allocations: 37.98 MB / 347.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.829e-06/9.978e-06, allocations: 0 / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 56.32 MB / 465.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4698, allocations: 86.28 MB / 0.539 GB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4702, allocations: 79.95 kB / 0.5391 GB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.007991/0.4782, allocations: 1.501 MB / 0.5405 GB, free: 7.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.4783, allocations: 4 kB / 0.5405 GB, free: 7.016 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000443/0.4787, allocations: 455.9 kB / 0.541 GB, free: 6.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4788, allocations: 8.031 kB / 0.541 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.4788, allocations: 11.81 kB / 0.541 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.4791, allocations: 209.6 kB / 0.5412 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4791, allocations: 0 / 0.5412 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4792, allocations: 4 kB / 0.5412 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001994/0.4794, allocations: 96.23 kB / 0.5413 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.4796, allocations: 130.6 kB / 0.5414 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.4796, allocations: 0 / 0.5414 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4797, allocations: 0 / 0.5414 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4797, allocations: 6.375 kB / 0.5414 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.4799, allocations: 166.2 kB / 0.5416 GB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.4801, allocations: 154.9 kB / 0.5417 GB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.4803, allocations: 137.2 kB / 0.5418 GB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.4803, allocations: 0 / 0.5418 GB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4804, allocations: 38.56 kB / 0.5419 GB, free: 5.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.4804, allocations: 3.938 kB / 0.5419 GB, free: 5.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007034/0.4811, allocations: 423.5 kB / 0.5423 GB, free: 5.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.4812, allocations: 105.1 kB / 0.5424 GB, free: 4.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4814, allocations: 134.1 kB / 0.5425 GB, free: 4.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.4814, allocations: 25.7 kB / 0.5425 GB, free: 4.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.4815, allocations: 151.2 kB / 0.5427 GB, free: 4.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.4817, allocations: 126.1 kB / 0.5428 GB, free: 4.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.4817, allocations: 4.031 kB / 0.5428 GB, free: 4.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4818, allocations: 326.7 kB / 0.5431 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.482, allocations: 92.61 kB / 0.5432 GB, free: 4.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.4822, allocations: 95.97 kB / 0.5433 GB, free: 3.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.4825, allocations: 135.9 kB / 0.5434 GB, free: 3.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4825, allocations: 0 / 0.5434 GB, free: 3.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006288/0.4831, allocations: 417.5 kB / 0.5438 GB, free: 3.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4832, allocations: 4 kB / 0.5438 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4832, allocations: 0 / 0.5438 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4832, allocations: 4 kB / 0.5438 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-06/0.4832, allocations: 8 kB / 0.5438 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4832, allocations: 0 / 0.5438 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.4833, allocations: 11.78 kB / 0.5439 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.4833, allocations: 11.84 kB / 0.5439 GB, free: 3.375 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.0001911/0.4835, allocations: 115.3 kB / 0.544 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.4836, allocations: 19.81 kB / 0.544 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.4836, allocations: 13.66 kB / 0.544 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4837, allocations: 0 / 0.544 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4837, allocations: 0 / 0.544 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.4837, allocations: 7.984 kB / 0.544 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.4839, allocations: 193.9 kB / 0.5442 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4839, allocations: 0 / 0.5442 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.4839, allocations: 0 / 0.5442 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4839, allocations: 0 / 0.5442 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.484, allocations: 11.44 kB / 0.5442 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.484, allocations: 0 / 0.5442 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.484, allocations: 0 / 0.5442 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001262/0.4853, allocations: 0.6918 MB / 0.5449 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.4854, allocations: 100.7 kB / 0.545 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.4854, allocations: 8 kB / 0.545 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.4855, allocations: 4 kB / 0.545 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.4856, allocations: 4 kB / 0.545 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.4856, allocations: 11.98 kB / 0.545 GB, free: 2.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001101/0.4857, allocations: 113.9 kB / 0.5451 GB, free: 2.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.486, allocations: 40 kB / 0.5452 GB, free: 1.973 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.0002398/0.4863, allocations: 115.3 kB / 0.5453 GB, free: 1.852 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007147/0.487, allocations: 409.6 kB / 0.5457 GB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.487, allocations: 0 / 0.5457 GB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.4888, allocations: 1.349 MB / 0.547 GB, free: 92 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.4891, allocations: 19.98 kB / 0.547 GB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.4903, allocations: 0.5448 MB / 0.5475 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.4908, allocations: 0.7626 MB / 0.5483 GB, free: 14.71 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4908, allocations: 0 / 0.5483 GB, free: 14.71 MB / 394.7 MB Notification: Performance of Templates: time 0.005194/0.496, allocations: 1.849 MB / 0.5501 GB, free: 12.87 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3Functions.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_matrixEqCirc3CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o] Error 1\n'