Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008955, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009429/0.000943, allocations: 172.4 kB / 16.58 MB, free: 6.395 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.416/1.416, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 436.7 MB / 0.7113 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 12 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7498/0.7502, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0008711/0.7511, allocations: 388.9 kB / 1.022 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.752, allocations: 0.8158 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.752, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.128e-05/0.7521, allocations: 3.938 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.915e-05/0.7522, allocations: 7.938 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.7523, allocations: 15.98 kB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.7524, allocations: 27.92 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.7525, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.7525, allocations: 19.92 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.7526, allocations: 15.91 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.7526, allocations: 4 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.7526, allocations: 4 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.7527, allocations: 4 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.7527, allocations: 29.7 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.071e-05/0.7528, allocations: 23.94 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7528, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7528, allocations: 7.938 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.7528, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004154/0.7532, allocations: 345.3 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7533, allocations: 15.98 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.7533, allocations: 3.906 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.7535, allocations: 178.9 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.7535, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.7535, allocations: 4 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.7537, allocations: 77.59 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.7537, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.7537, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.7537, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.7539, allocations: 51.95 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.7543, allocations: 280.8 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.7544, allocations: 42.56 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.7545, allocations: 36.89 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.7545, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.7546, allocations: 30.56 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.297e-06/0.7546, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003633/0.7549, allocations: 121.4 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.755, allocations: 51.41 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.7551, allocations: 101.8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.7551, allocations: 25.7 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.7551, allocations: 91.98 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.7551, allocations: 4.125 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.7552, allocations: 4 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.7553, allocations: 322.8 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.7553, allocations: 19.98 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.7554, allocations: 19.98 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.7555, allocations: 32.03 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7555, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.7557, allocations: 85.5 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7558, allocations: 8 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7558, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.7558, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.7559, allocations: 11.98 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7559, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.756, allocations: 15.98 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.756, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.7561, allocations: 117.8 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.7561, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.7562, allocations: 7.375 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7562, allocations: 4 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7562, allocations: 4 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.7562, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.7563, allocations: 169.5 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7563, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.7564, allocations: 15.98 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7564, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.7564, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.7565, allocations: 3.938 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7565, allocations: 4 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.7567, allocations: 175.5 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.7567, allocations: 88.97 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.7568, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.7569, allocations: 11.98 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.7569, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.7569, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.757, allocations: 91.3 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.757, allocations: 3.938 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002154/0.7572, allocations: 4 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00011/0.7573, allocations: 103.2 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.7575, allocations: 55.89 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7575, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.015e-05/0.7576, allocations: 27.98 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.7579, allocations: 4.547 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.7582, allocations: 154.5 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.7584, allocations: 0.6809 MB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.7585, allocations: 11.44 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7585, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.002023/0.7605, allocations: 0.6676 MB / 1.027 GB, free: 11.02 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicatorCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicatorCalcHelperMain.o] Error 1