Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007393/0.007393, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.00125/0.00125, allocations: 196.5 kB / 16.79 MB, free: 6.215 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.418/1.418, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1718/0.1718, allocations: 5.384 MB / 296 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 360.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 50.6 MB / 411.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004679/0.121, allocations: 3.551 MB / 415 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1229, allocations: 1.274 MB / 416.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.123, allocations: 7.938 kB / 416.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.1236, allocations: 202.9 kB / 416.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1239, allocations: 135.1 kB / 416.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1241, allocations: 111.9 kB / 416.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.1246, allocations: 0.5639 MB / 417.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.1248, allocations: 116 kB / 417.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.125, allocations: 203 kB / 417.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.1253, allocations: 246.9 kB / 417.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.1253, allocations: 28 kB / 417.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1255, allocations: 36 kB / 417.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.1255, allocations: 87.58 kB / 417.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.1257, allocations: 214.8 kB / 418.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.1261, allocations: 427 kB / 418.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1261, allocations: 7.938 kB / 418.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1261, allocations: 0 / 418.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1261, allocations: 0 / 418.6 MB, free: 4.738 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001923/0.1281, allocations: 0.8413 MB / 419.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1281, allocations: 8.031 kB / 419.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.1282, allocations: 52.38 kB / 419.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.1295, allocations: 0.5025 MB / 420 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1295, allocations: 24.69 kB / 420 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.1296, allocations: 28 kB / 420 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.1304, allocations: 361.2 kB / 420.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1304, allocations: 4 kB / 420.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.1304, allocations: 12 kB / 420.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1304, allocations: 12 kB / 420.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/0.1314, allocations: 365.9 kB / 420.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.1338, allocations: 1.417 MB / 422.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.135, allocations: 451.5 kB / 422.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.1355, allocations: 164.8 kB / 422.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1355, allocations: 4.094 kB / 422.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1356, allocations: 34.5 kB / 422.8 MB, free: 264 kB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.1356, allocations: 0 / 422.8 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.2117/0.3472, allocations: 1.02 MB / 423.8 MB, free: 48.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.3473, allocations: 54.48 kB / 423.9 MB, free: 48.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.3478, allocations: 401.1 kB / 424.3 MB, free: 48.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3479, allocations: 25.7 kB / 424.3 MB, free: 48.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.348, allocations: 222.9 kB / 424.5 MB, free: 48.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.348, allocations: 76.36 kB / 424.6 MB, free: 48.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3482, allocations: 68.11 kB / 424.7 MB, free: 47.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.3482, allocations: 351.9 kB / 425 MB, free: 47.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.3487, allocations: 141.5 kB / 425.2 MB, free: 47.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.3491, allocations: 184.9 kB / 425.3 MB, free: 47.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.3498, allocations: 315.1 kB / 425.6 MB, free: 47.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3498, allocations: 0 / 425.6 MB, free: 47.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.004112/0.354, allocations: 0.8236 MB / 426.5 MB, free: 47.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.354, allocations: 6.688 kB / 426.5 MB, free: 47.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.354, allocations: 0 / 426.5 MB, free: 47.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.3552, allocations: 331.3 kB / 426.8 MB, free: 47.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.3554, allocations: 59.77 kB / 426.9 MB, free: 47.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/0.3627, allocations: 3.958 MB / 430.8 MB, free: 44.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.3632, allocations: 47.95 kB / 430.9 MB, free: 44.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.3632, allocations: 19 kB / 430.9 MB, free: 44.51 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.3634, allocations: 150.5 kB / 431 MB, free: 44.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.3634, allocations: 39.5 kB / 431.1 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.3635, allocations: 42.81 kB / 431.1 MB, free: 44.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3635, allocations: 6.062 kB / 431.1 MB, free: 44.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3635, allocations: 3.562 kB / 431.1 MB, free: 44.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3635, allocations: 1.453 kB / 431.1 MB, free: 44.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/0.3678, allocations: 1.175 MB / 432.3 MB, free: 43.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3678, allocations: 0 / 432.3 MB, free: 43.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.3679, allocations: 35.73 kB / 432.3 MB, free: 43.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006207/0.3686, allocations: 251.2 kB / 432.6 MB, free: 43.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3686, allocations: 12.83 kB / 432.6 MB, free: 43.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005813/0.3744, allocations: 2.368 MB / 434.9 MB, free: 42.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3744, allocations: 0 / 434.9 MB, free: 42.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/0.3781, allocations: 0.772 MB / 435.7 MB, free: 41.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3783, allocations: 140.7 kB / 435.9 MB, free: 41.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.3783, allocations: 2.938 kB / 435.9 MB, free: 41.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.3787, allocations: 32.14 kB / 435.9 MB, free: 41.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.3787, allocations: 13.19 kB / 435.9 MB, free: 41.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.3788, allocations: 10.38 kB / 435.9 MB, free: 41.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.379, allocations: 281.7 kB / 436.2 MB, free: 41.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.379, allocations: 0 / 436.2 MB, free: 41.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.3796, allocations: 114.9 kB / 436.3 MB, free: 41.52 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000127/0.3797, allocations: 99.38 kB / 436.4 MB, free: 41.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.3809, allocations: 0.5991 MB / 437 MB, free: 41.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3809, allocations: 0 / 437 MB, free: 41.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.3814, allocations: 276.3 kB / 437.3 MB, free: 40.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.382, allocations: 80.64 kB / 437.3 MB, free: 40.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3833, allocations: 0.8585 MB / 438.2 MB, free: 40.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.3835, allocations: 0.7992 MB / 439 MB, free: 39.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.3836, allocations: 30.22 kB / 439 MB, free: 39.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3836, allocations: 3.25 kB / 439 MB, free: 39.66 MB / 350.1 MB Notification: Performance of Templates: time 0.008496/0.3921, allocations: 7.898 MB / 446.9 MB, free: 39.04 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetricCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetricCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetricCalcHelperMain.o] Error 1