Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 96.83 kB / 16.37 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 190.1 kB / 17.27 MB, free: 5.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.2 MB / 241.3 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2317/0.2317, allocations: 8.077 MB / 300.5 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 12 kB / 363.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1547, allocations: 52.51 MB / 416 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002402/0.1571, allocations: 1.324 MB / 417.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1595, allocations: 1.279 MB / 418.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1597, allocations: 12 kB / 418.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.1601, allocations: 63.67 kB / 418.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.1604, allocations: 79.52 kB / 418.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1618, allocations: 362.8 kB / 419.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.1621, allocations: 202.9 kB / 419.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1624, allocations: 85.75 kB / 419.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1625, allocations: 75.72 kB / 419.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.1629, allocations: 127.5 kB / 419.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.163, allocations: 19.94 kB / 419.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.1632, allocations: 103.9 kB / 419.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.1633, allocations: 39.78 kB / 419.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1634, allocations: 65.58 kB / 419.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.1637, allocations: 239.6 kB / 420 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1637, allocations: 3.984 kB / 420 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1638, allocations: 4 kB / 420.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1638, allocations: 0 / 420.1 MB, free: 4.656 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001626/0.1654, allocations: 0.6144 MB / 420.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.1655, allocations: 8.031 kB / 420.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.1655, allocations: 31.67 kB / 420.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1658, allocations: 198.8 kB / 420.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.1658, allocations: 16.56 kB / 420.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.1659, allocations: 28 kB / 420.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.1663, allocations: 287.5 kB / 421.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1664, allocations: 3.938 kB / 421.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1664, allocations: 15.98 kB / 421.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1664, allocations: 7.953 kB / 421.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.1668, allocations: 245.2 kB / 421.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.1685, allocations: 0.9682 MB / 422.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.1692, allocations: 374.5 kB / 422.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1694, allocations: 85.69 kB / 422.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.1694, allocations: 11.98 kB / 422.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1695, allocations: 38.56 kB / 423 MB, free: 1.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.1695, allocations: 4 kB / 423 MB, free: 1.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001192/0.1707, allocations: 0.509 MB / 423.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.1708, allocations: 85.06 kB / 423.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.171, allocations: 190.8 kB / 423.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1711, allocations: 33.7 kB / 423.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1712, allocations: 155.9 kB / 423.9 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.1713, allocations: 70.92 kB / 424 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.1713, allocations: 4 kB / 424 MB, free: 408 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1715, allocations: 326.8 kB / 424.3 MB, free: 72 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2936/0.465, allocations: 84.53 kB / 424.4 MB, free: 41.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.4654, allocations: 125.2 kB / 424.5 MB, free: 41.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.4656, allocations: 99.27 kB / 424.6 MB, free: 41.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.4656, allocations: 0.9375 kB / 424.6 MB, free: 41.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007101/0.4664, allocations: 328.6 kB / 424.9 MB, free: 41.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.4664, allocations: 8.828 kB / 425 MB, free: 41.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4664, allocations: 1.125 kB / 425 MB, free: 41.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/0.4668, allocations: 77.28 kB / 425 MB, free: 41.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.467, allocations: 49.56 kB / 425.1 MB, free: 41.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.4688, allocations: 2.669 MB / 427.7 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.469, allocations: 19.98 kB / 427.8 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.4691, allocations: 11.03 kB / 427.8 MB, free: 38.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.4692, allocations: 139.7 kB / 427.9 MB, free: 38.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.4693, allocations: 22.03 kB / 427.9 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005837/0.4699, allocations: 295.1 kB / 428.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4699, allocations: 9.125 kB / 428.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4699, allocations: 0 / 428.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4699, allocations: 2.578 kB / 428.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/0.4707, allocations: 0.5542 MB / 428.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4707, allocations: 0.5 kB / 428.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-05/0.4708, allocations: 34.05 kB / 428.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/0.471, allocations: 71.55 kB / 428.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.4711, allocations: 9.078 kB / 428.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.4726, allocations: 2.667 MB / 431.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4726, allocations: 6.906 kB / 431.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.4731, allocations: 426.4 kB / 432 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.4732, allocations: 107.5 kB / 432.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.4732, allocations: 3.938 kB / 432.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.4734, allocations: 17.92 kB / 432.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.4735, allocations: 16.11 kB / 432.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.4735, allocations: 10.8 kB / 432.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.4736, allocations: 151.9 kB / 432.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4736, allocations: 0 / 432.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.4741, allocations: 78.73 kB / 432.4 MB, free: 35.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.4743, allocations: 104 kB / 432.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.4749, allocations: 465 kB / 432.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4749, allocations: 0 / 432.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.4753, allocations: 329.4 kB / 433.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.4758, allocations: 23.7 kB / 433.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.4765, allocations: 0.5262 MB / 433.8 MB, free: 34.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.4767, allocations: 0.7359 MB / 434.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.4768, allocations: 33.41 kB / 434.6 MB, free: 33.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4768, allocations: 0 / 434.6 MB, free: 33.68 MB / 350.1 MB Notification: Performance of Templates: time 0.006695/0.4835, allocations: 4.93 MB / 439.5 MB, free: 33.36 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensorsCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensorsCalcHelperMain.o] Error 1