Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008722/0.0008722, allocations: 80.47 kB / 20.69 MB, free: 3.863 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.001003/0.001003, allocations: 173.9 kB / 23.97 MB, free: 0.5781 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.8754/0.8754, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5654/0.5654, allocations: 114 MB / 374.7 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.5554 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.048e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001301/0.001332, allocations: 0.6388 MB / 0.556 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008067/0.002138, allocations: 0.8159 MB / 0.5568 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.00218, allocations: 4 kB / 0.5568 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.812e-05/0.002269, allocations: 3.938 kB / 0.5568 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.002356, allocations: 7.984 kB / 0.5569 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 5.177e-05/0.002408, allocations: 4 kB / 0.5569 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.709e-05/0.002505, allocations: 67.77 kB / 0.5569 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.00262, allocations: 11.97 kB / 0.5569 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.00269, allocations: 35.97 kB / 0.557 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.002767, allocations: 27.91 kB / 0.557 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.002788, allocations: 4 kB / 0.557 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.002795, allocations: 0 / 0.557 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.002839, allocations: 31.91 kB / 0.557 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.002867, allocations: 15.98 kB / 0.557 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.002969, allocations: 79.7 kB / 0.5571 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.002972, allocations: 0 / 0.5571 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.002973, allocations: 0 / 0.5571 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.002978, allocations: 0 / 0.5571 GB, free: 0.5195 MB / 0.5105 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.0004037/0.003381, allocations: 314.1 kB / 0.5574 GB, free: 184 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.003415, allocations: 8.031 kB / 0.5574 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.003443, allocations: 8.891 kB / 0.5574 GB, free: 168 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.003564, allocations: 133.7 kB / 0.5576 GB, free: 8 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.003572, allocations: 4.375 kB / 0.5576 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.003602, allocations: 4.453 kB / 0.5576 GB, free: 16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.003823, allocations: 135.8 kB / 0.5577 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00383, allocations: 192 / 0.5577 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.00384, allocations: 384 / 0.5577 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003845, allocations: 4.375 kB / 0.5577 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.004033, allocations: 131.8 kB / 0.5578 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.004428, allocations: 364.6 kB / 0.5582 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.004553, allocations: 93.03 kB / 0.5583 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.004652, allocations: 61.7 kB / 0.5583 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.004662, allocations: 4 kB / 0.5583 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.004683, allocations: 38.56 kB / 0.5584 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.004684, allocations: 0 / 0.5584 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000355/0.005039, allocations: 189.4 kB / 0.5585 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.005076, allocations: 77.36 kB / 0.5586 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.005162, allocations: 121.8 kB / 0.5587 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.005176, allocations: 33.64 kB / 0.5588 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.005231, allocations: 96.03 kB / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.005252, allocations: 3.953 kB / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.005286, allocations: 17.7 kB / 0.5589 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.005384, allocations: 318.8 kB / 0.5592 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.957e-05/0.005483, allocations: 51.92 kB / 0.5592 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.005585, allocations: 65.66 kB / 0.5593 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.00576, allocations: 109.5 kB / 0.5594 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.005764, allocations: 4 kB / 0.5594 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002216/0.005986, allocations: 137.5 kB / 0.5595 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.006004, allocations: 8 kB / 0.5595 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.006011, allocations: 0 / 0.5595 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.006027, allocations: 3.938 kB / 0.5595 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.006132, allocations: 23.97 kB / 0.5596 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.006137, allocations: 0 / 0.5596 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.006183, allocations: 11.98 kB / 0.5596 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.00619, allocations: 8.062 kB / 0.5596 GB, free: 13.77 MB / 0.5261 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 8.858e-05/0.006279, allocations: 125.8 kB / 0.5597 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.006304, allocations: 3.984 kB / 0.5597 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.006331, allocations: 11.47 kB / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.006335, allocations: 0 / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.006342, allocations: 3.938 kB / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.006346, allocations: 4 kB / 0.5597 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.006508, allocations: 125.6 kB / 0.5599 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.006511, allocations: 0 / 0.5599 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.006565, allocations: 19.98 kB / 0.5599 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006567, allocations: 0 / 0.5599 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.006576, allocations: 3.938 kB / 0.5599 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.006581, allocations: 7.984 kB / 0.5599 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006582, allocations: 0 / 0.5599 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.006875, allocations: 310.6 kB / 0.5602 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.006885, allocations: 4 kB / 0.5602 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.006899, allocations: 4.031 kB / 0.5602 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.006975, allocations: 15.97 kB / 0.5602 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.007033, allocations: 15.92 kB / 0.5602 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.007037, allocations: 0 / 0.5602 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.007083, allocations: 95.27 kB / 0.5603 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007083, allocations: 0 / 0.5603 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001781/0.007261, allocations: 15.89 kB / 0.5603 GB, free: 12.96 MB / 0.5261 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 0.0001135/0.007375, allocations: 95.25 kB / 0.5604 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.007615, allocations: 111.9 kB / 0.5605 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007616, allocations: 0 / 0.5605 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.007713, allocations: 67.84 kB / 0.5606 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.007968, allocations: 15.47 kB / 0.5606 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.008316, allocations: 187.4 kB / 0.5608 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.008377, allocations: 79.33 kB / 0.5609 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.008414, allocations: 12.5 kB / 0.5609 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.008414, allocations: 3.938 kB / 0.5609 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.001779/0.01019, allocations: 0.9953 MB / 0.5618 GB, free: 11.36 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppIBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppIBPSA_latest_IBPSA.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: *** [: OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.0945545295253396] Failed to read output from testmodel.py, exit status != 0: 0.015779991634190083 0.023539634 0.018926602 Calling exit ...