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.0007102/0.0007102, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000716/0.000716, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8234/0.8234, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.6883/0.6883, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.405e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.000992/0.001006, allocations: 0.6357 MB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006724/0.001678, allocations: 0.8159 MB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.001721, allocations: 4 kB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.415e-05/0.001805, allocations: 11.88 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.001884, allocations: 7.969 kB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.206e-05/0.001936, allocations: 8 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.00203, allocations: 51.84 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.002141, allocations: 15.97 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.002199, allocations: 31.92 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.002262, allocations: 27.97 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.002282, allocations: 11.94 kB / 0.6208 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.00229, allocations: 4 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.002331, allocations: 23.95 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.002358, allocations: 19.94 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.439e-05/0.002452, allocations: 71.75 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002454, allocations: 3.938 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002455, allocations: 0 / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.002458, allocations: 4 kB / 0.621 GB, free: 11.45 MB / 0.5886 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.0003767/0.002835, allocations: 314.1 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.002868, allocations: 17.47 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.002894, allocations: 4.891 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.00301, allocations: 121.7 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.00302, allocations: 8.375 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.00303, allocations: 4.375 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.00324, allocations: 131.8 kB / 0.6215 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.003248, allocations: 192 / 0.6215 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.003257, allocations: 384 / 0.6215 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003262, allocations: 384 / 0.6215 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.003687, allocations: 131.8 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.00406, allocations: 376.5 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.004175, allocations: 85.03 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.05e-05/0.004265, allocations: 77.69 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.004276, allocations: 0 / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.004294, allocations: 30.56 kB / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.004295, allocations: 0 / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003445/0.004639, allocations: 193.5 kB / 0.6224 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.004675, allocations: 85.05 kB / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.004739, allocations: 117.8 kB / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004748, allocations: 29.7 kB / 0.6226 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.004783, allocations: 92.09 kB / 0.6227 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.0048, allocations: 3.953 kB / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.004825, allocations: 21.7 kB / 0.6227 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.00489, allocations: 310.8 kB / 0.623 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.004975, allocations: 64.02 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.005057, allocations: 61.66 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.00521, allocations: 109.9 kB / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005211, allocations: 4.062 kB / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.0054, allocations: 141.5 kB / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.00541, allocations: 4 kB / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.005413, allocations: 3.938 kB / 0.6234 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.005424, allocations: 4 kB / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.005493, allocations: 16.03 kB / 0.6234 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.005498, allocations: 8 kB / 0.6234 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.005536, allocations: 11.98 kB / 0.6234 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.005541, allocations: 0 / 0.6234 GB, free: 8.711 MB / 0.5886 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.744e-05/0.005598, allocations: 126.8 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.005619, allocations: 4 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/0.005637, allocations: 11.45 kB / 0.6236 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.005641, allocations: 4 kB / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.005644, allocations: 0 / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005646, allocations: 0 / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.005759, allocations: 125.2 kB / 0.6237 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.005762, allocations: 7.984 kB / 0.6237 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.005801, allocations: 23.92 kB / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005802, allocations: 0 / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.005808, allocations: 4 kB / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005809, allocations: 0 / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.00581, allocations: 3.984 kB / 0.6237 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.006026, allocations: 310.6 kB / 0.624 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.006033, allocations: 8 kB / 0.624 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.006042, allocations: 3.938 kB / 0.624 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.006111, allocations: 15.97 kB / 0.6241 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.006143, allocations: 7.984 kB / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.006145, allocations: 4 kB / 0.6241 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.006181, allocations: 95.2 kB / 0.6242 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006181, allocations: 0 / 0.6242 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001711/0.006352, allocations: 19.95 kB / 0.6242 GB, free: 7.891 MB / 0.5886 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 6.155e-05/0.006413, allocations: 95.28 kB / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.006615, allocations: 107.9 kB / 0.6244 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006617, allocations: 0 / 0.6244 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.006708, allocations: 72.03 kB / 0.6244 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.006922, allocations: 13.64 kB / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.007178, allocations: 191.3 kB / 0.6246 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.00723, allocations: 83.33 kB / 0.6247 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.007258, allocations: 8.5 kB / 0.6247 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of SimCode: time 2.9e-07/0.007258, allocations: 0 / 0.6247 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of Templates: time 0.001498/0.008756, allocations: 0.9914 MB / 0.6257 GB, free: 6.281 MB / 0.5886 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 -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 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.1517668031156063] Failed to read output from testmodel.py, exit status != 0: 0.012512375600636005 0.020249098 0.016312447 Calling exit ...