Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007273/0.0007273, allocations: 117.6 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.0007452/0.0007452, allocations: 211.9 kB / 23.01 MB, free: 3.105 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.8765/0.8765, allocations: 230.6 MB / 256.8 MB, free: 3.449 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7525/0.7525, allocations: 203.8 MB / 0.5049 GB, free: 0.7188 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: IDEAS 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.0008412/0.0008412, allocations: 67.89 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4802, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001561/0.4818, allocations: 0.6522 MB / 0.8197 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.4826, allocations: 0.8275 MB / 0.8205 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.4826, allocations: 0 / 0.8205 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.4827, allocations: 6.234 kB / 0.8205 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.902e-05/0.4828, allocations: 3.375 kB / 0.8205 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.001e-05/0.4829, allocations: 8.094 kB / 0.8205 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.483, allocations: 66.56 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4832, allocations: 8.062 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.4832, allocations: 28.25 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.4833, allocations: 34.03 kB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4833, allocations: 8.062 kB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.4833, allocations: 5.281 kB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.4834, allocations: 22.28 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.4834, allocations: 24.91 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.4836, allocations: 71.89 kB / 0.8208 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4836, allocations: 0 / 0.8208 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4836, allocations: 1.031 kB / 0.8208 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4836, allocations: 0.7188 kB / 0.8208 GB, free: 24.08 MB / 0.6355 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.0004311/0.484, allocations: 314 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4841, allocations: 11.52 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.4841, allocations: 8.891 kB / 0.8211 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.4842, allocations: 130.4 kB / 0.8212 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4842, allocations: 4.031 kB / 0.8212 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4842, allocations: 10.72 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.4845, allocations: 134.9 kB / 0.8214 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.4845, allocations: 192 / 0.8214 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4845, allocations: 5.875 kB / 0.8214 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4845, allocations: 1.406 kB / 0.8214 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.4848, allocations: 131.1 kB / 0.8215 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.4852, allocations: 405.9 kB / 0.8219 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.4853, allocations: 87.25 kB / 0.822 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4854, allocations: 66.03 kB / 0.822 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.4855, allocations: 3.531 kB / 0.8221 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.4855, allocations: 33.75 kB / 0.8221 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.4855, allocations: 0 / 0.8221 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004109/0.4859, allocations: 188.8 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.4859, allocations: 83.11 kB / 0.8223 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.486, allocations: 126.8 kB / 0.8225 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.486, allocations: 25.7 kB / 0.8225 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.486, allocations: 98.91 kB / 0.8226 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.4861, allocations: 6.109 kB / 0.8226 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.4861, allocations: 16.91 kB / 0.8226 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.29e-05/0.4861, allocations: 317.8 kB / 0.8229 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4862, allocations: 51.42 kB / 0.823 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.4863, allocations: 74.42 kB / 0.823 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.4865, allocations: 102.7 kB / 0.8231 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4865, allocations: 4.062 kB / 0.8231 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002326/0.4867, allocations: 141 kB / 0.8233 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4868, allocations: 6.391 kB / 0.8233 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4868, allocations: 1.625 kB / 0.8233 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4868, allocations: 0 / 0.8233 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.4869, allocations: 18.66 kB / 0.8233 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4869, allocations: 4.656 kB / 0.8233 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.4869, allocations: 19.33 kB / 0.8233 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4869, allocations: 5.172 kB / 0.8233 GB, free: 22.25 MB / 0.6355 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.331e-05/0.487, allocations: 126.8 kB / 0.8234 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.487, allocations: 3.781 kB / 0.8234 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.487, allocations: 18.05 kB / 0.8235 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.487, allocations: 1.984 kB / 0.8235 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.487, allocations: 4 kB / 0.8235 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.487, allocations: 5.125 kB / 0.8235 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.4872, allocations: 148.8 kB / 0.8236 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4872, allocations: 0 / 0.8236 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.4872, allocations: 18.34 kB / 0.8236 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4872, allocations: 1.656 kB / 0.8236 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4872, allocations: 0.7031 kB / 0.8236 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4872, allocations: 1.625 kB / 0.8236 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4873, allocations: 0 / 0.8236 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.4875, allocations: 315.1 kB / 0.8239 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-06/0.4875, allocations: 7.375 kB / 0.8239 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4875, allocations: 1.703 kB / 0.8239 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.4876, allocations: 20 kB / 0.824 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.4877, allocations: 9.766 kB / 0.824 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.4877, allocations: 1.734 kB / 0.824 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.4877, allocations: 98.31 kB / 0.8241 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4877, allocations: 0 / 0.8241 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001694/0.4879, allocations: 12.39 kB / 0.8241 GB, free: 21.61 MB / 0.6355 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 8.799e-05/0.488, allocations: 99.12 kB / 0.8242 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.4882, allocations: 114.2 kB / 0.8243 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4882, allocations: 0 / 0.8243 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.4884, allocations: 63.42 kB / 0.8243 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.4886, allocations: 13.73 kB / 0.8244 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.4889, allocations: 194.6 kB / 0.8245 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.351e-05/0.489, allocations: 0.7013 MB / 0.8252 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.4891, allocations: 9.625 kB / 0.8252 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4891, allocations: 0 / 0.8252 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.002156/0.4912, allocations: 0.9664 MB / 0.8262 GB, free: 20.55 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppIDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppIDEAS_dev_IDEAS.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: *** [: OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.930006242124364] Failed to read output from testmodel.py, exit status != 0: 0.4960133808199316 0.504360253 0.019071294000000003 Calling exit ...