Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.0009906, allocations: 99.59 kB / 15.71 MB, free: 452 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.001008/0.001008, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.51/1.51, allocations: 223.2 MB / 240.6 MB, free: 5.441 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.582/2.582, allocations: 390.4 MB / 0.6662 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003892, allocations: 8 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8258/0.8262, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001064/0.8273, allocations: 378.3 kB / 0.9548 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.8284, allocations: 0.7879 MB / 0.9555 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.8284, allocations: 0 / 0.9555 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.8286, allocations: 5.062 kB / 0.9555 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.951e-05/0.8286, allocations: 3.984 kB / 0.9556 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.8287, allocations: 1.969 kB / 0.9556 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.8288, allocations: 24.7 kB / 0.9556 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.8289, allocations: 2.5 kB / 0.9556 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.829, allocations: 15.2 kB / 0.9556 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.8291, allocations: 3.656 kB / 0.9556 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.8291, allocations: 1.438 kB / 0.9556 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.8291, allocations: 5.375 kB / 0.9556 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.8292, allocations: 17.53 kB / 0.9556 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.8292, allocations: 27.42 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.064e-05/0.8293, allocations: 21.42 kB / 0.9557 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.8293, allocations: 0 / 0.9557 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.769e-06/0.8293, allocations: 1.312 kB / 0.9557 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8294, allocations: 0 / 0.9557 GB, free: 7.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004952/0.8299, allocations: 346.9 kB / 0.956 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.8299, allocations: 13 kB / 0.956 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.83, allocations: 5.484 kB / 0.956 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.8301, allocations: 183 kB / 0.9562 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.8301, allocations: 0 / 0.9562 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.8302, allocations: 2.875 kB / 0.9562 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.8304, allocations: 64.86 kB / 0.9563 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8304, allocations: 4 kB / 0.9563 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.8304, allocations: 0 / 0.9563 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8304, allocations: 1.469 kB / 0.9563 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.8306, allocations: 49.44 kB / 0.9563 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.831, allocations: 274.7 kB / 0.9566 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.8311, allocations: 36.5 kB / 0.9566 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.8312, allocations: 31.44 kB / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.8312, allocations: 0 / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8313, allocations: 39.75 kB / 0.9567 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.8313, allocations: 0 / 0.9567 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003563/0.8316, allocations: 88.59 kB / 0.9568 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.8317, allocations: 51.41 kB / 0.9568 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.8318, allocations: 107.7 kB / 0.9569 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.8318, allocations: 25.7 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.8318, allocations: 94.55 kB / 0.957 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.8319, allocations: 4.641 kB / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.8319, allocations: 0 / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.8319, allocations: 312.2 kB / 0.9573 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.832, allocations: 21.83 kB / 0.9573 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.8321, allocations: 20.8 kB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.302e-05/0.8322, allocations: 22.52 kB / 0.9574 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8322, allocations: 3.984 kB / 0.9574 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001704/0.8324, allocations: 67.23 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8324, allocations: 6.219 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8324, allocations: 3.953 kB / 0.9575 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.8324, allocations: 3.938 kB / 0.9575 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.8325, allocations: 15.45 kB / 0.9575 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8325, allocations: 0 / 0.9575 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.8326, allocations: 14.86 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.8326, allocations: 7.969 kB / 0.9575 GB, free: 5.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.938e-05/0.8327, allocations: 108.8 kB / 0.9576 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.8327, allocations: 5.438 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.8327, allocations: 3.125 kB / 0.9576 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8327, allocations: 5.141 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8327, allocations: 0 / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.8327, allocations: 0 / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.8329, allocations: 167.8 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8329, allocations: 1.375 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.8329, allocations: 15.05 kB / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8329, allocations: 0 / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.8329, allocations: 0 / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8329, allocations: 1.344 kB / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8329, allocations: 3.953 kB / 0.9578 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.8331, allocations: 166.2 kB / 0.958 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.8332, allocations: 78.64 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.8332, allocations: 0 / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.8333, allocations: 9.953 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.8333, allocations: 9.328 kB / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.8333, allocations: 5.5 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.8334, allocations: 82 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8334, allocations: 0 / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002066/0.8336, allocations: 8.312 kB / 0.9581 GB, free: 4.586 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001106/0.8337, allocations: 96.69 kB / 0.9582 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.8339, allocations: 48.42 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8339, allocations: 0 / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.834, allocations: 18.95 kB / 0.9583 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.8343, allocations: 7.031 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.8346, allocations: 150.5 kB / 0.9585 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.8348, allocations: 0.6833 MB / 0.9591 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.8348, allocations: 8.344 kB / 0.9591 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8348, allocations: 0 / 0.9591 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Templates: time 0.001886/0.8367, allocations: 0.5679 MB / 0.9597 GB, free: 3.316 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicatorCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicatorCalcHelperMain.o] Error 1