Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 99.98 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.001324/0.001324, allocations: 176.4 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.477/1.477, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.682/2.682, allocations: 436.7 MB / 0.7114 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 12.22 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/0.9231, allocations: 153.7 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001038/0.9242, allocations: 422.2 kB / 1.022 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.9252, allocations: 0.804 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.9253, allocations: 3.938 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.9253, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.548e-05/0.9254, allocations: 7.938 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.823e-05/0.9254, allocations: 11.98 kB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.9255, allocations: 31.92 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.9256, allocations: 15.92 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.9257, allocations: 15.98 kB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.9258, allocations: 15.92 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.9258, allocations: 4 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.9258, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.9258, allocations: 7.938 kB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.9259, allocations: 29.7 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.377e-05/0.9259, allocations: 27.91 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.926, allocations: 4 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.926, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.926, allocations: 0 / 1.023 GB, free: 15.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005441/0.9265, allocations: 373.2 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.9266, allocations: 11.98 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.9266, allocations: 3.906 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.9267, allocations: 167.1 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.9268, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.9268, allocations: 15.94 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.927, allocations: 77.61 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.9271, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.9271, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.9271, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.9274, allocations: 91.91 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.9278, allocations: 272.8 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.928, allocations: 70.48 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.9281, allocations: 52.91 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.9282, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.9282, allocations: 34.56 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.9282, allocations: 4 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005157/0.9287, allocations: 161.6 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.9288, allocations: 55.34 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.9289, allocations: 109.8 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.9289, allocations: 29.64 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.929, allocations: 92.14 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.929, allocations: 11.75 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.929, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.9291, allocations: 322.8 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.9293, allocations: 39.97 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.9294, allocations: 39.97 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.9295, allocations: 47.95 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9296, allocations: 3.953 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003596/0.9299, allocations: 117.6 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9299, allocations: 4 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.93, allocations: 0 / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.93, allocations: 0 / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.9301, allocations: 23.92 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.9301, allocations: 7.984 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.9302, allocations: 15.98 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.9302, allocations: 0 / 1.025 GB, free: 13.29 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: 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 0.0001026/0.9303, allocations: 113.8 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.9304, allocations: 7.859 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.9304, allocations: 3.906 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9304, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9304, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.9304, allocations: 0 / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.9306, allocations: 173.6 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.9306, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.9307, allocations: 23.94 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9307, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.9307, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.9307, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.9307, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.9311, allocations: 219.7 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.9312, allocations: 81.02 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.9312, allocations: 7.953 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.9313, allocations: 15.98 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.9313, allocations: 12.02 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.9313, allocations: 4 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.9314, allocations: 87.22 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9314, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002078/0.9316, allocations: 8 kB / 1.026 GB, free: 12.43 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: 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.0001652/0.9318, allocations: 103.2 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.9321, allocations: 87.92 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9321, allocations: 3.938 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.9323, allocations: 51.91 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.9326, allocations: 7.938 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.933, allocations: 158.4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.9335, allocations: 0.6809 MB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.9336, allocations: 11.44 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.9336, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002693/0.9363, allocations: 0.7244 MB / 1.028 GB, free: 10.55 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.SubtractCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.SubtractCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.SubtractCalcHelperMain.o] Error 1