Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.0007759/0.0007759, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008611/0.0008611, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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.8979/0.8979, allocations: 230.6 MB / 256.8 MB, free: 3.414 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03605/0.03605, allocations: 12.19 MB / 325.4 MB, free: 3.398 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004404/0.0004404, allocations: 31.25 kB / 384.9 MB, free: 45.75 MB / 298.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.635/1.635, allocations: 353.8 MB / 0.7794 GB, free: 13.06 MB / 0.5262 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001437/0.001437, allocations: 123.9 kB / 1.061 GB, free: 9.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2208, allocations: 134.9 MB / 1.193 GB, free: 2.57 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001339/0.2222, allocations: 0.6375 MB / 1.194 GB, free: 1.938 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006753/0.2228, allocations: 0.842 MB / 1.194 GB, free: 1.086 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.2229, allocations: 4 kB / 1.194 GB, free: 1.082 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.382e-05/0.223, allocations: 7.938 kB / 1.194 GB, free: 1.074 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.553e-05/0.2231, allocations: 0 / 1.194 GB, free: 1.074 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.313e-05/0.2231, allocations: 7.984 kB / 1.194 GB, free: 1.066 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2232, allocations: 63.83 kB / 1.195 GB, free: 1.004 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2233, allocations: 11.92 kB / 1.195 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.2234, allocations: 27.92 kB / 1.195 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.2235, allocations: 27.91 kB / 1.195 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.2235, allocations: 4 kB / 1.195 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.2235, allocations: 4 kB / 1.195 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.2235, allocations: 27.91 kB / 1.195 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.2236, allocations: 27.88 kB / 1.195 GB, free: 0.875 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.092e-05/0.2237, allocations: 67.72 kB / 1.195 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2237, allocations: 0 / 1.195 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2237, allocations: 0 / 1.195 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2237, allocations: 0 / 1.195 GB, free: 0.8086 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004036/0.2241, allocations: 318 kB / 1.195 GB, free: 476 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2241, allocations: 11.98 kB / 1.195 GB, free: 464 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.2241, allocations: 12.88 kB / 1.195 GB, free: 452 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2243, allocations: 126.5 kB / 1.195 GB, free: 300 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.2243, allocations: 4.375 kB / 1.195 GB, free: 296 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2243, allocations: 8.359 kB / 1.195 GB, free: 288 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.2245, allocations: 139.7 kB / 1.195 GB, free: 136 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2245, allocations: 192 / 1.195 GB, free: 136 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2245, allocations: 3.938 kB / 1.195 GB, free: 132 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2245, allocations: 4 kB / 1.195 GB, free: 128 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.2247, allocations: 127.8 kB / 1.195 GB, free: 0 / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.2251, allocations: 415.9 kB / 1.196 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.2252, allocations: 81.09 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.2253, allocations: 69.7 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.2253, allocations: 0 / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2254, allocations: 34.56 kB / 1.196 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.2254, allocations: 0 / 1.196 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2): time 0.0003431/0.2257, allocations: 189.4 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.2257, allocations: 81.36 kB / 1.196 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.096e-05/0.2258, allocations: 121.8 kB / 1.196 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.2258, allocations: 29.69 kB / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.2259, allocations: 92.09 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.2259, allocations: 7.953 kB / 1.196 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.2259, allocations: 13.72 kB / 1.196 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.226, allocations: 322.8 kB / 1.197 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.2261, allocations: 55.92 kB / 1.197 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.2262, allocations: 61.66 kB / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2264, allocations: 113.6 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2264, allocations: 0 / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001849/0.2266, allocations: 141.5 kB / 1.197 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2266, allocations: 8.625 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2266, allocations: 0 / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2266, allocations: 4.062 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.2267, allocations: 19.97 kB / 1.197 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2267, allocations: 0 / 1.197 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.2267, allocations: 15.92 kB / 1.197 GB, free: 14 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2267, allocations: 384 / 1.197 GB, free: 14 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.2268, allocations: 129.8 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.2268, allocations: 3.938 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.2268, allocations: 19.45 kB / 1.197 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2268, allocations: 3.938 kB / 1.197 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2268, allocations: 0 / 1.197 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2268, allocations: 3.938 kB / 1.197 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.227, allocations: 148.7 kB / 1.198 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.227, allocations: 4 kB / 1.198 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.227, allocations: 15.98 kB / 1.198 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.227, allocations: 7.984 kB / 1.198 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.227, allocations: 0 / 1.198 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.227, allocations: 0 / 1.198 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.227, allocations: 4 kB / 1.198 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.2272, allocations: 306.6 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.2273, allocations: 4 kB / 1.198 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.2273, allocations: 4.031 kB / 1.198 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.2273, allocations: 23.91 kB / 1.198 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2274, allocations: 11.92 kB / 1.198 GB, free: 13.25 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.2274, allocations: 0 / 1.198 GB, free: 13.25 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.2274, allocations: 95.27 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2274, allocations: 0 / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001662/0.2276, allocations: 11.95 kB / 1.198 GB, free: 13.15 MB / 0.8387 GB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.846e-05/0.2277, allocations: 99.25 kB / 1.198 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2279, allocations: 111.8 kB / 1.198 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2279, allocations: 3.938 kB / 1.198 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.228, allocations: 59.92 kB / 1.198 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.2282, allocations: 20.19 kB / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.2285, allocations: 188 kB / 1.198 GB, free: 12.63 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.2287, allocations: 0.7001 MB / 1.199 GB, free: 11.91 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.2287, allocations: 15.44 kB / 1.199 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of SimCode: time 5.21e-07/0.2287, allocations: 0 / 1.199 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of Templates: time 0.001609/0.2303, allocations: 0.962 MB / 1.2 GB, free: 10.94 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile clang++ -std=c++17 -fopenmp=libomp -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/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 OMCppAixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppAixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppAixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppAixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorInitialize.cpp:170:50: error: use of undeclared identifier 'reaRep_P_y_' 170 | SystemDefaultImplementation::setRealStartValue(reaRep_P_y_(3,1), (_ram1_P_offset_ + tmp4), false); | ^ In file included from OMCppAixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppAixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.cpp:178:3: error: use of undeclared identifier 'reaRep_P_y_' 178 | reaRep_P_y_(3,1) = (_ram1_P_offset_ + tmp10); | ^ 2 errors generated. make: *** [: OMCppAixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.007956840097904] Failed to read output from testmodel.py, exit status != 0: 0.23583335615694523 0.24381068700000003 0.018520368000000002 Calling exit ...