Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001157/0.001157, allocations: 102.4 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.001295/0.001296, allocations: 176.3 kB / 16.58 MB, free: 6.039 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.525/1.525, allocations: 223.2 MB / 240.6 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.4 MB / 0.6662 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005265, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8777/0.8782, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001148/0.8795, allocations: 382.5 kB / 0.9548 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.8807, allocations: 0.8269 MB / 0.9556 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.8808, allocations: 0 / 0.9556 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.8809, allocations: 5.188 kB / 0.9556 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.8809, allocations: 0 / 0.9556 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.8812, allocations: 21.62 kB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.8813, allocations: 26.73 kB / 0.9556 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.8814, allocations: 7.453 kB / 0.9557 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.8815, allocations: 12.03 kB / 0.9557 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.8815, allocations: 16.67 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.8816, allocations: 1.562 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.8816, allocations: 2.625 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.8816, allocations: 14.75 kB / 0.9557 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.8817, allocations: 26.7 kB / 0.9557 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.263e-05/0.8818, allocations: 30.34 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.8818, allocations: 0 / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8818, allocations: 1.281 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8818, allocations: 0 / 0.9558 GB, free: 7.008 MB / 0.7169 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.0004876/0.8823, allocations: 348 kB / 0.9561 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.8824, allocations: 9.75 kB / 0.9561 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.8824, allocations: 4.953 kB / 0.9561 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.8826, allocations: 179.4 kB / 0.9563 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.8826, allocations: 9.062 kB / 0.9563 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.8826, allocations: 3.094 kB / 0.9563 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.8828, allocations: 71.16 kB / 0.9564 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.8828, allocations: 1.219 kB / 0.9564 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.8829, allocations: 0 / 0.9564 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.8829, allocations: 1.094 kB / 0.9564 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.8831, allocations: 61.06 kB / 0.9564 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.8835, allocations: 276.2 kB / 0.9567 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.8836, allocations: 50.73 kB / 0.9567 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-05/0.8837, allocations: 27.72 kB / 0.9568 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.8838, allocations: 1.094 kB / 0.9568 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.8838, allocations: 38.52 kB / 0.9568 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.485e-06/0.8838, allocations: 1.438 kB / 0.9568 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003955/0.8842, allocations: 117.2 kB / 0.9569 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.8842, allocations: 51.41 kB / 0.957 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.8843, allocations: 105.1 kB / 0.9571 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.8843, allocations: 25.7 kB / 0.9571 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.8844, allocations: 85.7 kB / 0.9572 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.8844, allocations: 9.094 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.8844, allocations: 1.375 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.8845, allocations: 310.8 kB / 0.9575 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.8846, allocations: 26.72 kB / 0.9575 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.8847, allocations: 23.33 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.8848, allocations: 24.27 kB / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8848, allocations: 0 / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002129/0.885, allocations: 88.3 kB / 0.9576 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.885, allocations: 8.453 kB / 0.9576 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.885, allocations: 3.938 kB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8851, allocations: 5.172 kB / 0.9576 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.8852, allocations: 15.67 kB / 0.9577 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8852, allocations: 1.25 kB / 0.9577 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.8853, allocations: 9.438 kB / 0.9577 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.8853, allocations: 1.375 kB / 0.9577 GB, free: 5.145 MB / 0.7169 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.0001454/0.8855, allocations: 112.7 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.8855, allocations: 5.375 kB / 0.9578 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.8855, allocations: 12.3 kB / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.8855, allocations: 0 / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8856, allocations: 1.188 kB / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8856, allocations: 0 / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.8857, allocations: 165.6 kB / 0.9579 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8857, allocations: 5.438 kB / 0.958 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.8858, allocations: 11.48 kB / 0.958 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8858, allocations: 1.344 kB / 0.958 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.8858, allocations: 3.938 kB / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.8858, allocations: 5.203 kB / 0.958 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8858, allocations: 0 / 0.958 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.8861, allocations: 174 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.8861, allocations: 82.31 kB / 0.9582 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.8861, allocations: 5.344 kB / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.8862, allocations: 5.469 kB / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.8863, allocations: 14.78 kB / 0.9582 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.8863, allocations: 1.062 kB / 0.9582 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.8864, allocations: 88.03 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8864, allocations: 0 / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002231/0.8866, allocations: 8.625 kB / 0.9583 GB, free: 4.441 MB / 0.7169 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.0001281/0.8867, allocations: 104.9 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.887, allocations: 56.58 kB / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.887, allocations: 1.281 kB / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.8871, allocations: 24.92 kB / 0.9585 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.8873, allocations: 7 kB / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.8877, allocations: 155.9 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.8879, allocations: 0.6789 MB / 0.9593 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.8879, allocations: 9.219 kB / 0.9593 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8879, allocations: 1.438 kB / 0.9593 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of Templates: time 0.002505/0.8904, allocations: 0.6683 MB / 0.96 GB, free: 3.109 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile make -j1 -f Buildings_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicatorCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicatorCalcHelperMain.o] Error 1