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.001236/0.001236, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 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.001555/0.001555, allocations: 218.3 kB / 23 MB, free: 4.918 MB / 14.72 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 1.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.02907/0.02907, allocations: 5.491 MB / 318.7 MB, free: 13.52 MB / 254.1 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: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 71.89 kB / 447.3 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1027, allocations: 54.61 MB / 0.4902 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01222/0.115, allocations: 8.936 MB / 0.4989 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006913/0.1219, allocations: 3.399 MB / 0.5022 GB, free: 16 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.1234, allocations: 83.67 kB / 0.5023 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007335/0.1307, allocations: 3.016 MB / 0.5053 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.1339, allocations: 0.8644 MB / 0.5061 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.1363, allocations: 1.056 MB / 0.5071 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005048/0.1414, allocations: 4.261 MB / 0.5113 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009376/0.1507, allocations: 6.551 MB / 0.5177 GB, free: 64 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1961/0.3468, allocations: 2.421 MB / 0.5201 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004265/0.3511, allocations: 2.525 MB / 0.5225 GB, free: 14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001826/0.3529, allocations: 0.7214 MB / 0.5232 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.3557, allocations: 1.025 MB / 0.5242 GB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.3573, allocations: 1.332 MB / 0.5255 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003454/0.3608, allocations: 2.006 MB / 0.5275 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.3717, allocations: 9.212 MB / 0.5365 GB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3717, allocations: 5.031 kB / 0.5365 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3717, allocations: 0 / 0.5365 GB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003068/0.372, allocations: 0 / 0.5365 GB, free: 11.73 MB / 382.1 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.01672/0.3887, allocations: 5.354 MB / 0.5417 GB, free: 8.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3888, allocations: 9.281 kB / 0.5417 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009763/0.3985, allocations: 1.647 MB / 0.5433 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007392/0.4059, allocations: 2.945 MB / 0.5462 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.4062, allocations: 325 kB / 0.5465 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.4077, allocations: 413.9 kB / 0.5469 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.4203, allocations: 6.704 MB / 0.5535 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.003e-05/0.4204, allocations: 0 / 0.5535 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.4208, allocations: 175.3 kB / 0.5536 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.4209, allocations: 205.1 kB / 0.5538 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009432/0.4304, allocations: 5.648 MB / 0.5593 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/0.4639, allocations: 18.93 MB / 0.5778 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005019/0.469, allocations: 2.162 MB / 0.5799 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.4703, allocations: 0.7822 MB / 0.5807 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.4705, allocations: 40.44 kB / 0.5807 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.4718, allocations: 0.8114 MB / 0.5815 GB, free: 6.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 3.337e-06/0.4718, allocations: 0 / 0.5815 GB, free: 6.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.00483/0.4766, allocations: 2.234 MB / 0.5837 GB, free: 4.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4767, allocations: 157.1 kB / 0.5839 GB, free: 4.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.4797, allocations: 1.88 MB / 0.5857 GB, free: 2.414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/0.4798, allocations: 41.7 kB / 0.5857 GB, free: 2.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002117/0.4819, allocations: 2.04 MB / 0.5877 GB, free: 328 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/0.4823, allocations: 406.8 kB / 0.5881 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008418/0.4831, allocations: 0.5475 MB / 0.5887 GB, free: 15.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4832, allocations: 301.1 kB / 0.5889 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.485, allocations: 1.109 MB / 0.59 GB, free: 13.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.4877, allocations: 2.207 MB / 0.5922 GB, free: 11.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.4921, allocations: 3.373 MB / 0.5955 GB, free: 7.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/0.4921, allocations: 12 kB / 0.5955 GB, free: 7.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005891/0.498, allocations: 3.52 MB / 0.5989 GB, free: 4.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.4981, allocations: 53.62 kB / 0.599 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.394e-05/0.4981, allocations: 36 kB / 0.599 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.4986, allocations: 124.8 kB / 0.5991 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.5006, allocations: 0.6078 MB / 0.5997 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.5023, allocations: 1.515 MB / 0.6012 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5043, allocations: 373.7 kB / 0.6016 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.5045, allocations: 136 kB / 0.6017 GB, free: 1.293 MB / 430.1 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.00288/0.5074, allocations: 1.714 MB / 0.6034 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.5077, allocations: 162.9 kB / 0.6035 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.5111, allocations: 1.819 MB / 0.6053 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002451/0.5135, allocations: 1.464 MB / 0.6067 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5135, allocations: 4 kB / 0.6067 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.5135, allocations: 11.97 kB / 0.6067 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00798/0.5215, allocations: 4.055 MB / 0.6107 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5215, allocations: 10 kB / 0.6107 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/0.5223, allocations: 206.5 kB / 0.6109 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006187/0.523, allocations: 289.8 kB / 0.6112 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/0.523, allocations: 31.98 kB / 0.6112 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.5242, allocations: 0.8985 MB / 0.6121 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5242, allocations: 4.062 kB / 0.6121 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.5287, allocations: 2.672 MB / 0.6147 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/0.5296, allocations: 286.6 kB / 0.615 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.5298, allocations: 27.95 kB / 0.615 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.5306, allocations: 83.97 kB / 0.6151 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5307, allocations: 76.8 kB / 0.6152 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.5308, allocations: 35.98 kB / 0.6152 GB, free: 3.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00193/0.5327, allocations: 1.237 MB / 0.6164 GB, free: 2.078 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5327, allocations: 0 / 0.6164 GB, free: 2.078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002838/0.5356, allocations: 0.9535 MB / 0.6173 GB, free: 1.121 MB / 446.1 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.0003716/0.5359, allocations: 201.2 kB / 0.6175 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00415/0.5401, allocations: 2.436 MB / 0.6199 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5401, allocations: 4.25 kB / 0.6199 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.5414, allocations: 0.7379 MB / 0.6206 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.543, allocations: 366.2 kB / 0.621 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.5544, allocations: 6.444 MB / 0.6273 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.5573, allocations: 2.403 MB / 0.6296 GB, free: 4.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.5579, allocations: 163.4 kB / 0.6298 GB, free: 4.398 MB / 462.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5579, allocations: 7.938 kB / 0.6298 GB, free: 4.391 MB / 462.1 MB Notification: Performance of Templates: time 0.1129/0.6707, allocations: 81.23 MB / 0.7091 GB, free: 3.258 MB / 0.5294 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/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_' _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: 4.344185150228441] Failed to read output from testmodel.py, exit status != 0: 0.6795457410626113 0.6933822079999999 0.31856878299999997 Calling exit ...