Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [: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.001635/0.001639, allocations: 188.2 kB / 7.804 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.825/1.825, 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.00126/0.00126, allocations: 94.08 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.274/0.274, allocations: 37.98 MB / 347.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/9.067e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 56.31 MB / 465.6 MB, free: 6.863 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4563, allocations: 88.67 MB / 0.5413 GB, free: 6.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.4567, allocations: 79.95 kB / 0.5414 GB, free: 6.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.04215/0.4989, allocations: 5.423 MB / 0.5467 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.4989, allocations: 0 / 0.5467 GB, free: 0.7383 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007283/0.4997, allocations: 451.7 kB / 0.5471 GB, free: 252 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.4997, allocations: 8.031 kB / 0.5471 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.4998, allocations: 7.906 kB / 0.5471 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.5002, allocations: 210.6 kB / 0.5473 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.5003, allocations: 0 / 0.5473 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.5003, allocations: 12 kB / 0.5473 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002284/0.5006, allocations: 59.97 kB / 0.5474 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.5009, allocations: 97.59 kB / 0.5475 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5009, allocations: 0 / 0.5475 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.5009, allocations: 4 kB / 0.5475 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.5009, allocations: 0 / 0.5475 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.5012, allocations: 146.1 kB / 0.5476 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.5015, allocations: 134.5 kB / 0.5478 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.5018, allocations: 125.2 kB / 0.5479 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.5018, allocations: 0 / 0.5479 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.5019, allocations: 30.56 kB / 0.5479 GB, free: 15.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.5019, allocations: 0 / 0.5479 GB, free: 15.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007069/0.5026, allocations: 217.4 kB / 0.5481 GB, free: 15.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/0.5027, allocations: 93.09 kB / 0.5482 GB, free: 15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.503, allocations: 117.2 kB / 0.5483 GB, free: 14.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.503, allocations: 30.55 kB / 0.5483 GB, free: 14.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5032, allocations: 154.9 kB / 0.5485 GB, free: 14.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5033, allocations: 63.02 kB / 0.5486 GB, free: 14.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.5033, allocations: 0 / 0.5486 GB, free: 14.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.5035, allocations: 322.8 kB / 0.5489 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.5037, allocations: 55.97 kB / 0.5489 GB, free: 14.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.5039, allocations: 59.97 kB / 0.549 GB, free: 14.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.5042, allocations: 67.89 kB / 0.549 GB, free: 14.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5042, allocations: 7.984 kB / 0.549 GB, free: 14.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006514/0.5049, allocations: 209.5 kB / 0.5492 GB, free: 13.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.505, allocations: 12 kB / 0.5493 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.505, allocations: 0 / 0.5493 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.505, allocations: 0 / 0.5493 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.505, allocations: 0 / 0.5493 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001524/0.5052, allocations: 4.766 kB / 0.5493 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.5054, allocations: 11.88 kB / 0.5493 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.5055, allocations: 11.98 kB / 0.5493 GB, free: 13.86 MB / 394.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.0003764/0.5059, allocations: 87.45 kB / 0.5494 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.5061, allocations: 11.91 kB / 0.5494 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.5061, allocations: 8.688 kB / 0.5494 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5062, allocations: 7.906 kB / 0.5494 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5062, allocations: 0 / 0.5494 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5062, allocations: 0 / 0.5494 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.5065, allocations: 170 kB / 0.5496 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5065, allocations: 0 / 0.5496 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-06/0.5066, allocations: 0 / 0.5496 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5066, allocations: 4 kB / 0.5496 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.5066, allocations: 4 kB / 0.5496 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5066, allocations: 0 / 0.5496 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.5067, allocations: 0 / 0.5496 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001068/0.5077, allocations: 356.7 kB / 0.5499 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/0.5079, allocations: 92.86 kB / 0.55 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.5079, allocations: 4 kB / 0.55 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5081, allocations: 4 kB / 0.55 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.5081, allocations: 8 kB / 0.55 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.5082, allocations: 11.98 kB / 0.55 GB, free: 13.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001212/0.5083, allocations: 101.1 kB / 0.5501 GB, free: 12.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009124/0.5093, allocations: 132 kB / 0.5502 GB, free: 12.79 MB / 394.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.0008639/0.5101, allocations: 197.2 kB / 0.5504 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007577/0.5109, allocations: 281.5 kB / 0.5507 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5109, allocations: 0 / 0.5507 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008166/0.5118, allocations: 437.6 kB / 0.5511 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.5122, allocations: 24.02 kB / 0.5511 GB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.5132, allocations: 325.7 kB / 0.5515 GB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.5137, allocations: 0.7266 MB / 0.5522 GB, free: 10.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.173e-06/0.5137, allocations: 4 kB / 0.5522 GB, free: 10.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01047/0.5242, allocations: 2.967 MB / 0.5551 GB, free: 7.773 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCircCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:247:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp23;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:257:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp33;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:279:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp60;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:281:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp62;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:288:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp74;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:291:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp77;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:777:24: error: invalid argument type \'DynArrayDim1\' to unary expression\n y_(j_) = ((-tmp106) / Tc_(j_)) /*stmtAssign*/;\n ^~~~~~~\n7 errors generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.o] Error 1\n'