Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008529/0.0008529, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.849/0.849, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01624/0.01624, allocations: 4.22 MB / 264.2 MB, free: 9.152 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 393 MB, free: 5.582 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.407e-05, allocations: 2.281 kB / 393 MB, free: 5.578 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.007481/0.007505, allocations: 8.948 MB / 401.9 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.01254, allocations: 3.402 MB / 405.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007764/0.01332, allocations: 83.56 kB / 405.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.01646, allocations: 3.172 MB / 408.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.01819, allocations: 0.8927 MB / 409.5 MB, free: 5.008 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.01949, allocations: 1.055 MB / 410.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003033/0.02252, allocations: 4.384 MB / 414.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005513/0.02804, allocations: 6.566 MB / 421.5 MB, free: 8.887 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.0312, allocations: 3.635 MB / 425.1 MB, free: 5.246 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.0332, allocations: 2.273 MB / 427.4 MB, free: 2.969 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005405/0.03374, allocations: 0.7188 MB / 428.1 MB, free: 2.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.03487, allocations: 1.031 MB / 429.1 MB, free: 1.219 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000689/0.03556, allocations: 1.356 MB / 430.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.03722, allocations: 1.735 MB / 432.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.04287, allocations: 9.312 MB / 441.5 MB, free: 4.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.04287, allocations: 4 kB / 441.5 MB, free: 4.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.04287, allocations: 0 / 441.5 MB, free: 4.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.136e-05/0.04295, allocations: 0 / 441.5 MB, free: 4.781 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.1473/0.1902, allocations: 5.319 MB / 446.8 MB, free: 88.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1902, allocations: 6.406 kB / 446.9 MB, free: 88.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.1949, allocations: 1.64 MB / 448.5 MB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.1978, allocations: 2.946 MB / 451.4 MB, free: 86.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.198, allocations: 321.4 kB / 451.8 MB, free: 86.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003924/0.1984, allocations: 415.7 kB / 452.2 MB, free: 86.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00622/0.2046, allocations: 6.706 MB / 458.9 MB, free: 83.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.756e-05/0.2046, allocations: 5.781 kB / 458.9 MB, free: 83.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.2049, allocations: 173.5 kB / 459 MB, free: 83.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.205, allocations: 207.7 kB / 459.2 MB, free: 83.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004882/0.2099, allocations: 5.646 MB / 464.9 MB, free: 81.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.2233, allocations: 18.93 MB / 483.8 MB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.2259, allocations: 2.173 MB / 486 MB, free: 69.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/0.2267, allocations: 0.7839 MB / 486.8 MB, free: 69.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.738e-05/0.2268, allocations: 38.41 kB / 486.8 MB, free: 69.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007115/0.2275, allocations: 0.8088 MB / 487.6 MB, free: 68.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=106): time 2.344e-06/0.2275, allocations: 5.156 kB / 487.6 MB, free: 68.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.002727/0.2302, allocations: 2.234 MB / 489.9 MB, free: 67.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2303, allocations: 148.8 kB / 490 MB, free: 67.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.2319, allocations: 1.887 MB / 491.9 MB, free: 67.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.232, allocations: 46.42 kB / 491.9 MB, free: 67.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000828/0.2328, allocations: 2.025 MB / 494 MB, free: 65.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.233, allocations: 400.4 kB / 494.4 MB, free: 65.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005292/0.2335, allocations: 0.5428 MB / 494.9 MB, free: 64.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.44e-05/0.2335, allocations: 306.3 kB / 495.2 MB, free: 64.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.2347, allocations: 1.112 MB / 496.3 MB, free: 64.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.2361, allocations: 2.202 MB / 498.5 MB, free: 62.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.2385, allocations: 3.373 MB / 0.4901 GB, free: 59.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/0.2385, allocations: 11.91 kB / 0.4901 GB, free: 59.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00318/0.2416, allocations: 3.519 MB / 0.4936 GB, free: 57.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.2417, allocations: 49.59 kB / 0.4936 GB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.2417, allocations: 36 kB / 0.4936 GB, free: 57.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.242, allocations: 136.3 kB / 0.4938 GB, free: 57.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009739/0.2429, allocations: 0.6003 MB / 0.4944 GB, free: 56.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007493/0.2437, allocations: 1.516 MB / 0.4958 GB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.2447, allocations: 370 kB / 0.4962 GB, free: 55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.2448, allocations: 138.5 kB / 0.4963 GB, free: 54.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001408/0.2463, allocations: 1.71 MB / 0.498 GB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.2464, allocations: 162.9 kB / 0.4982 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.248, allocations: 1.824 MB / 0.4999 GB, free: 51.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001178/0.2492, allocations: 1.461 MB / 0.5014 GB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2492, allocations: 0 / 0.5014 GB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2492, allocations: 7.984 kB / 0.5014 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.253, allocations: 4.059 MB / 0.5053 GB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.253, allocations: 4 kB / 0.5053 GB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.2534, allocations: 215.8 kB / 0.5055 GB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.2537, allocations: 287.9 kB / 0.5058 GB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.2538, allocations: 31.98 kB / 0.5058 GB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000468/0.2542, allocations: 0.897 MB / 0.5067 GB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2542, allocations: 0 / 0.5067 GB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.2563, allocations: 2.669 MB / 0.5093 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.2567, allocations: 282.6 kB / 0.5096 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2568, allocations: 27.94 kB / 0.5096 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.2572, allocations: 91.95 kB / 0.5097 GB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.2572, allocations: 72.81 kB / 0.5098 GB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.2573, allocations: 35.98 kB / 0.5098 GB, free: 41.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008351/0.2581, allocations: 1.229 MB / 0.511 GB, free: 39.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2581, allocations: 4 kB / 0.511 GB, free: 39.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001475/0.2596, allocations: 0.9574 MB / 0.512 GB, free: 38.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000261/0.2599, allocations: 194.7 kB / 0.5121 GB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.2619, allocations: 2.441 MB / 0.5145 GB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2619, allocations: 0 / 0.5145 GB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.2625, allocations: 0.7415 MB / 0.5153 GB, free: 35.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008799/0.2634, allocations: 370.5 kB / 0.5156 GB, free: 35.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005625/0.2691, allocations: 6.38 MB / 0.5218 GB, free: 28.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.2703, allocations: 2.407 MB / 0.5242 GB, free: 26.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.2706, allocations: 168.4 kB / 0.5243 GB, free: 26.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2706, allocations: 4 kB / 0.5244 GB, free: 26.11 MB / 410.7 MB Notification: Performance of Templates: time 0.05142/0.3221, allocations: 81.18 MB / 0.6036 GB, free: 8.961 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile [Timeout 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.cpp In file included from OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.cpp:29: ./OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3Initialize.cpp:1240:77: error: use of undeclared identifier 'converter_P_vAC_' 1240 | _functions->Modelica_Units_SI_ComplexVoltage__omcQ_27_2A_27_scalarProduct(converter_P_vAC_, tmp46, tmp50); | ^ 1 error generated. make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.82755212392658] Failed to read output from testmodel.py, exit status != 0: 0.3276542220264673 0.466555241 0.422184906 Calling exit ...