Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.000904, allocations: 102 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.001089/0.001089, allocations: 175.1 kB / 16.58 MB, free: 6.09 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.44/1.44, allocations: 223.2 MB / 240.6 MB, free: 5.434 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.679/2.679, allocations: 390.4 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8005, allocations: 142.3 MB / 0.9544 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.0009226/0.8015, allocations: 425.9 kB / 0.9548 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000812/0.8023, allocations: 0.7989 MB / 0.9556 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.8024, allocations: 5.656 kB / 0.9556 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.8024, allocations: 0 / 0.9556 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.8025, allocations: 13.08 kB / 0.9556 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.137e-05/0.8025, allocations: 4.906 kB / 0.9556 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.361e-05/0.8026, allocations: 38.62 kB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.8027, allocations: 11.41 kB / 0.9557 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.8028, allocations: 14.14 kB / 0.9557 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.8029, allocations: 16.52 kB / 0.9557 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.8029, allocations: 7.375 kB / 0.9557 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.8029, allocations: 1.438 kB / 0.9557 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.8029, allocations: 7.922 kB / 0.9557 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.8029, allocations: 32.67 kB / 0.9558 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.727e-05/0.803, allocations: 24.73 kB / 0.9558 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.803, allocations: 1 kB / 0.9558 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.803, allocations: 0 / 0.9558 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.803, allocations: 0 / 0.9558 GB, free: 6.953 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.0004512/0.8035, allocations: 369.8 kB / 0.9561 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8035, allocations: 8.5 kB / 0.9561 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.8036, allocations: 10.64 kB / 0.9562 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.921e-05/0.8037, allocations: 166.4 kB / 0.9563 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.8037, allocations: 7.938 kB / 0.9563 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.8037, allocations: 7.031 kB / 0.9563 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.804, allocations: 79.94 kB / 0.9564 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.804, allocations: 0 / 0.9564 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.804, allocations: 0 / 0.9564 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.804, allocations: 1.062 kB / 0.9564 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.8043, allocations: 94.61 kB / 0.9565 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.8046, allocations: 263.3 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.8048, allocations: 66.55 kB / 0.9568 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.805, allocations: 59.72 kB / 0.9569 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.805, allocations: 0 / 0.9569 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.805, allocations: 31.5 kB / 0.9569 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.805, allocations: 1 kB / 0.9569 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005257/0.8056, allocations: 170.5 kB / 0.9571 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.8056, allocations: 55.34 kB / 0.9571 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.8057, allocations: 107.8 kB / 0.9572 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.8057, allocations: 25.7 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.8057, allocations: 86.52 kB / 0.9573 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.8058, allocations: 20.88 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.8058, allocations: 0 / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.8058, allocations: 320.1 kB / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.806, allocations: 39.06 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.8061, allocations: 47.8 kB / 0.9577 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.8063, allocations: 41.91 kB / 0.9578 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8063, allocations: 1.438 kB / 0.9578 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002914/0.8066, allocations: 115.4 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8066, allocations: 5.188 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.8066, allocations: 1.125 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8066, allocations: 3.953 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.8068, allocations: 27.19 kB / 0.9579 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8068, allocations: 1.469 kB / 0.9579 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.8068, allocations: 18.67 kB / 0.9579 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.8069, allocations: 5.25 kB / 0.9579 GB, free: 5.004 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 (3): * Single equations (assignments): 3 * 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 6.31e-05/0.8069, allocations: 112.1 kB / 0.9581 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.807, allocations: 5.219 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.807, allocations: 10.19 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.807, allocations: 7.922 kB / 0.9581 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.807, allocations: 3.953 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.807, allocations: 5.25 kB / 0.9581 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.8071, allocations: 165.1 kB / 0.9582 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8072, allocations: 0 / 0.9582 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.8072, allocations: 19.83 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8073, allocations: 0 / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.8073, allocations: 4 kB / 0.9583 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8073, allocations: 1.344 kB / 0.9583 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8073, allocations: 3.984 kB / 0.9583 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.8076, allocations: 220.1 kB / 0.9585 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.8077, allocations: 82.05 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.8077, allocations: 0.75 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.8078, allocations: 15.86 kB / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.8079, allocations: 13.08 kB / 0.9586 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.8079, allocations: 1.188 kB / 0.9586 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.8079, allocations: 97.56 kB / 0.9587 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8079, allocations: 0 / 0.9587 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002265/0.8082, allocations: 6.844 kB / 0.9587 GB, free: 4.266 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 (3): * Single equations (assignments): 3 * 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.0001568/0.8083, allocations: 97.84 kB / 0.9588 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.8087, allocations: 89.23 kB / 0.9589 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8087, allocations: 0 / 0.9589 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.8088, allocations: 50.38 kB / 0.9589 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.8091, allocations: 15.48 kB / 0.9589 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.8095, allocations: 149.9 kB / 0.9591 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.8096, allocations: 0.6879 MB / 0.9597 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.8097, allocations: 7.438 kB / 0.9597 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.8097, allocations: 1.781 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of Templates: time 0.002554/0.8122, allocations: 0.7289 MB / 0.9605 GB, free: 2.883 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Continuous.Validation.SubtractCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.SubtractCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.SubtractCalcHelperMain.o] Error 1