Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [: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.002553/0.002558, allocations: 184.2 kB / 7.806 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.853/1.853, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001249/0.001249, allocations: 94.55 kB / 261.4 MB, free: 13.63 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.2654/0.2654, allocations: 37.97 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.102e-05/1.116e-05, allocations: 4 kB / 409.3 MB, free: 47.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 56.32 MB / 465.6 MB, free: 6.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4616, allocations: 86.3 MB / 0.539 GB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.462, allocations: 75.95 kB / 0.5391 GB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.007003/0.469, allocations: 1.262 MB / 0.5403 GB, free: 7.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.469, allocations: 1.859 kB / 0.5403 GB, free: 7.25 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003877/0.4694, allocations: 384.3 kB / 0.5407 GB, free: 6.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4695, allocations: 8.031 kB / 0.5407 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.4695, allocations: 7.906 kB / 0.5407 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.4698, allocations: 186.8 kB / 0.5409 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4698, allocations: 0 / 0.5409 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4698, allocations: 4 kB / 0.5409 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/0.47, allocations: 31.98 kB / 0.5409 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4701, allocations: 57.69 kB / 0.541 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4701, allocations: 0 / 0.541 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.4701, allocations: 3.906 kB / 0.541 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4701, allocations: 0.875 kB / 0.541 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.4703, allocations: 138.2 kB / 0.5411 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4704, allocations: 54.56 kB / 0.5412 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.4705, allocations: 48.88 kB / 0.5412 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.4705, allocations: 7.844 kB / 0.5412 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4706, allocations: 38.55 kB / 0.5412 GB, free: 6.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.4706, allocations: 0 / 0.5412 GB, free: 6.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003677/0.471, allocations: 113.6 kB / 0.5414 GB, free: 6.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.4711, allocations: 93.09 kB / 0.5414 GB, free: 5.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4712, allocations: 114.1 kB / 0.5415 GB, free: 5.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4712, allocations: 25.7 kB / 0.5416 GB, free: 5.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.4713, allocations: 154.6 kB / 0.5417 GB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.4714, allocations: 35.45 kB / 0.5418 GB, free: 5.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.4714, allocations: 0 / 0.5418 GB, free: 5.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4715, allocations: 318.8 kB / 0.5421 GB, free: 5.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.4716, allocations: 28.64 kB / 0.5421 GB, free: 5.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.4717, allocations: 28.42 kB / 0.5421 GB, free: 5.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4718, allocations: 48.02 kB / 0.5422 GB, free: 5.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4718, allocations: 0 / 0.5422 GB, free: 5.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002678/0.4721, allocations: 125.5 kB / 0.5423 GB, free: 5.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4721, allocations: 8.062 kB / 0.5423 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4722, allocations: 0 / 0.5423 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4722, allocations: 3.938 kB / 0.5423 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-06/0.4722, allocations: 1.188 kB / 0.5423 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4722, allocations: 3.938 kB / 0.5423 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.4722, allocations: 11.84 kB / 0.5423 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.4723, allocations: 0 / 0.5423 GB, free: 5.004 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.0001155/0.4724, allocations: 75.38 kB / 0.5424 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.4724, allocations: 11.91 kB / 0.5424 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.4725, allocations: 8.375 kB / 0.5424 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4725, allocations: 0 / 0.5424 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4725, allocations: 3.906 kB / 0.5424 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4725, allocations: 0 / 0.5424 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4727, allocations: 150.2 kB / 0.5425 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4727, allocations: 0.625 kB / 0.5425 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.4727, allocations: 0 / 0.5425 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4727, allocations: 3.906 kB / 0.5425 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.4727, allocations: 4 kB / 0.5426 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4727, allocations: 0.875 kB / 0.5426 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4727, allocations: 0 / 0.5426 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004583/0.4732, allocations: 228.9 kB / 0.5428 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.4733, allocations: 85 kB / 0.5429 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.4733, allocations: 4 kB / 0.5429 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.4734, allocations: 4 kB / 0.5429 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.4734, allocations: 3.906 kB / 0.5429 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.4734, allocations: 8 kB / 0.5429 GB, free: 4.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.718e-05/0.4735, allocations: 95.2 kB / 0.543 GB, free: 4.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.4738, allocations: 31.97 kB / 0.543 GB, free: 4.219 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.0002419/0.474, allocations: 111.2 kB / 0.5431 GB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.4743, allocations: 137.7 kB / 0.5432 GB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4744, allocations: 0 / 0.5432 GB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.4747, allocations: 197.6 kB / 0.5434 GB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4749, allocations: 4.781 kB / 0.5434 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.4754, allocations: 229.2 kB / 0.5436 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.4758, allocations: 0.7153 MB / 0.5443 GB, free: 2.758 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4758, allocations: 0 / 0.5443 GB, free: 2.758 MB / 378.7 MB Notification: Performance of Templates: time 0.003644/0.4795, allocations: 1.129 MB / 0.5454 GB, free: 1.637 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1Functions.cpp:37:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp8;\n ^\n1 error generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o] Error 1\n'