Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 95.03 kB / 16.37 MB, free: 5.969 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.001234/0.001235, allocations: 175.8 kB / 17.27 MB, free: 5.824 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.492/1.492, allocations: 223.2 MB / 241.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1846/0.1846, allocations: 8.09 MB / 300.5 MB, free: 2.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.000356, allocations: 8 kB / 363.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 52.52 MB / 416 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003433/0.1317, allocations: 2.741 MB / 418.7 MB, free: 6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.1352, allocations: 1.77 MB / 420.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006242/0.1359, allocations: 12 kB / 420.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.1365, allocations: 127.3 kB / 420.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.1378, allocations: 278.4 kB / 420.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.1402, allocations: 1.044 MB / 422 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.1413, allocations: 0.5907 MB / 422.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005025/0.1419, allocations: 165.4 kB / 422.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.1424, allocations: 235.1 kB / 422.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.1431, allocations: 306.7 kB / 423.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.1432, allocations: 32 kB / 423.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008408/0.1441, allocations: 259.7 kB / 423.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1442, allocations: 99.53 kB / 423.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.1445, allocations: 129.4 kB / 423.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009759/0.1455, allocations: 0.5883 MB / 424.3 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1455, allocations: 3.938 kB / 424.3 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1455, allocations: 0 / 424.3 MB, free: 356 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.1455, allocations: 0 / 424.3 MB, free: 356 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.2885/0.434, allocations: 1.783 MB / 426.1 MB, free: 41.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4341, allocations: 6.75 kB / 426.1 MB, free: 41.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.4344, allocations: 72.36 kB / 426.2 MB, free: 41.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.435, allocations: 415 kB / 426.6 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.435, allocations: 37.61 kB / 426.6 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.4351, allocations: 54.88 kB / 426.7 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4362, allocations: 0.7107 MB / 427.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4363, allocations: 0 / 427.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.4363, allocations: 20.53 kB / 427.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4363, allocations: 13.69 kB / 427.4 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009744/0.4373, allocations: 0.6614 MB / 428.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.4408, allocations: 2.876 MB / 431 MB, free: 39.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.4424, allocations: 1.085 MB / 432.1 MB, free: 39.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.443, allocations: 487.8 kB / 432.5 MB, free: 39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.4431, allocations: 22.22 kB / 432.6 MB, free: 39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.4432, allocations: 45.92 kB / 432.6 MB, free: 38.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.797e-06/0.4432, allocations: 0 / 432.6 MB, free: 38.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.009915/0.4531, allocations: 3.172 MB / 435.8 MB, free: 38.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.4532, allocations: 118.1 kB / 435.9 MB, free: 38.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.4537, allocations: 377.2 kB / 436.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.4538, allocations: 45.02 kB / 436.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.4539, allocations: 207.1 kB / 436.5 MB, free: 37.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.4541, allocations: 248.8 kB / 436.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.4542, allocations: 15.28 kB / 436.8 MB, free: 37.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4543, allocations: 364.2 kB / 437.1 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.4549, allocations: 455.5 kB / 437.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/0.4556, allocations: 0.5272 MB / 438.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.4562, allocations: 0.4943 MB / 438.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4562, allocations: 0 / 438.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004487/0.4607, allocations: 2.007 MB / 440.6 MB, free: 35.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4608, allocations: 6.094 kB / 440.6 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4608, allocations: 3.422 kB / 440.6 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004838/0.4657, allocations: 1.534 MB / 442.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.4663, allocations: 130 kB / 442.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009476/0.4758, allocations: 5.729 MB / 448 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.4765, allocations: 82.44 kB / 448.1 MB, free: 31.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.4766, allocations: 32.55 kB / 448.1 MB, free: 31.8 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.4768, allocations: 190.9 kB / 448.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.477, allocations: 58.8 kB / 448.4 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/0.4815, allocations: 1.982 MB / 450.3 MB, free: 30.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4815, allocations: 13.83 kB / 450.4 MB, free: 30.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4815, allocations: 4 kB / 450.4 MB, free: 30.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.4816, allocations: 3.516 kB / 450.4 MB, free: 30.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.4869, allocations: 2.825 MB / 453.2 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.4869, allocations: 3.516 kB / 453.2 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.4873, allocations: 92.97 kB / 453.3 MB, free: 29.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/0.4921, allocations: 1.301 MB / 454.6 MB, free: 29.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.4922, allocations: 20.88 kB / 454.6 MB, free: 29.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009292/0.5015, allocations: 5.643 MB / 460.2 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5016, allocations: 0 / 460.2 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/0.5063, allocations: 1.933 MB / 462.2 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.5065, allocations: 145.3 kB / 462.3 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/0.5066, allocations: 12.25 kB / 462.3 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.5072, allocations: 55.12 kB / 462.4 MB, free: 24.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.5075, allocations: 58.25 kB / 462.4 MB, free: 24.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.5075, allocations: 33.31 kB / 462.5 MB, free: 24.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.5079, allocations: 260 kB / 462.7 MB, free: 24.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.5079, allocations: 0 / 462.7 MB, free: 24.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001168/0.5091, allocations: 284.8 kB / 463 MB, free: 24.57 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/0.5094, allocations: 140.2 kB / 463.1 MB, free: 24.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003829/0.5132, allocations: 1.639 MB / 464.8 MB, free: 23.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.5132, allocations: 1.375 kB / 464.8 MB, free: 23.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.5158, allocations: 1.068 MB / 465.8 MB, free: 23.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.5165, allocations: 69.62 kB / 465.9 MB, free: 23.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.5185, allocations: 1.382 MB / 467.3 MB, free: 22.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.5189, allocations: 0.8834 MB / 468.2 MB, free: 21.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.5191, allocations: 54.72 kB / 468.2 MB, free: 21.64 MB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5191, allocations: 0 / 468.2 MB, free: 21.64 MB / 350.1 MB Notification: Performance of Templates: time 0.02619/0.5453, allocations: 11.98 MB / 480.2 MB, free: 19.03 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.ExampleWithFMUs.MVLVNetworkCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkCalcHelperMain.o] Error 1