Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007855/0.0007858, allocations: 101.9 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.0009576/0.0009577, allocations: 181.7 kB / 16.59 MB, free: 6.137 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.423/1.423, allocations: 223.3 MB / 240.6 MB, free: 5.316 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.605/2.605, allocations: 390.5 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004534, allocations: 12 kB / 0.8155 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8228, 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.Derivative): time 0.001303/0.8242, allocations: 0.7042 MB / 0.9551 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.8254, allocations: 0.9911 MB / 0.9561 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.8255, allocations: 2.938 kB / 0.9561 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.8256, allocations: 13.17 kB / 0.9561 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.8257, allocations: 13 kB / 0.9561 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.8259, allocations: 58.28 kB / 0.9562 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.8261, allocations: 145.2 kB / 0.9563 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.8263, allocations: 65.59 kB / 0.9564 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.8264, allocations: 47.06 kB / 0.9564 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.732e-05/0.8265, allocations: 58.84 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.8265, allocations: 5.75 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.187e-05/0.8266, allocations: 5.469 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.8266, allocations: 24.75 kB / 0.9565 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.8266, allocations: 45.36 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.8268, allocations: 122.9 kB / 0.9567 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.8268, allocations: 4 kB / 0.9567 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8268, allocations: 1.062 kB / 0.9567 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.8268, allocations: 0 / 0.9567 GB, free: 6.273 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007193/0.8275, allocations: 458.2 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8276, allocations: 9.969 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.8277, allocations: 20.83 kB / 0.9571 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.8279, allocations: 214.9 kB / 0.9573 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.8279, allocations: 10.5 kB / 0.9574 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.828, allocations: 15.12 kB / 0.9574 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.8284, allocations: 149.6 kB / 0.9575 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.8284, allocations: 1.188 kB / 0.9575 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.8284, allocations: 9.078 kB / 0.9575 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.8284, allocations: 3.812 kB / 0.9575 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.8288, allocations: 118.4 kB / 0.9576 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.8299, allocations: 0.5488 MB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.8304, allocations: 146.1 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.8306, allocations: 82.86 kB / 0.9584 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.8306, allocations: 2.75 kB / 0.9584 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.8309, allocations: 132.2 kB / 0.9585 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.8309, allocations: 5.719 kB / 0.9585 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0005355/0.8314, allocations: 239.9 kB / 0.9588 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.8315, allocations: 57.28 kB / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8316, allocations: 154.1 kB / 0.959 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.8316, allocations: 31.45 kB / 0.959 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.8317, allocations: 113.8 kB / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.8318, allocations: 66.2 kB / 0.9592 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.8318, allocations: 5.656 kB / 0.9592 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.8319, allocations: 325.6 kB / 0.9595 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.8321, allocations: 74.36 kB / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.8323, allocations: 91.33 kB / 0.9596 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.8325, allocations: 79.3 kB / 0.9597 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8325, allocations: 0 / 0.9597 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004475/0.8329, allocations: 224.1 kB / 0.9599 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.833, allocations: 14.17 kB / 0.9599 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.833, allocations: 0 / 0.9599 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.833, allocations: 2.812 kB / 0.9599 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.8332, allocations: 43.62 kB / 0.96 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.8332, allocations: 1.625 kB / 0.96 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.8333, allocations: 29.3 kB / 0.96 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.8334, allocations: 8.812 kB / 0.96 GB, free: 3.598 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.191e-05/0.8335, allocations: 129.4 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.8335, allocations: 14.03 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.8339, allocations: 202.8 kB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.8339, allocations: 2.75 kB / 0.9604 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8339, allocations: 3.953 kB / 0.9604 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8339, allocations: 0 / 0.9604 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/0.8346, allocations: 0.5997 MB / 0.9609 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.8347, allocations: 1.375 kB / 0.9609 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.8348, allocations: 42.36 kB / 0.961 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.8348, allocations: 2.75 kB / 0.961 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.8349, allocations: 10.73 kB / 0.961 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.8349, allocations: 2.75 kB / 0.961 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8349, allocations: 1.375 kB / 0.961 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.8354, allocations: 393.5 kB / 0.9614 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.8355, allocations: 90.17 kB / 0.9615 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.8355, allocations: 16.58 kB / 0.9615 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.8357, allocations: 20.3 kB / 0.9615 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.8358, allocations: 21.44 kB / 0.9615 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.8358, allocations: 13.84 kB / 0.9615 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.215e-05/0.8359, allocations: 120.2 kB / 0.9616 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8359, allocations: 1.125 kB / 0.9616 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002849/0.8362, allocations: 35.31 kB / 0.9617 GB, free: 2.258 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001409/0.8363, allocations: 105.2 kB / 0.9618 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.8368, allocations: 181 kB / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8368, allocations: 0.875 kB / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.837, allocations: 85.88 kB / 0.962 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.8373, allocations: 32.19 kB / 0.9621 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.838, allocations: 433.5 kB / 0.9625 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.8381, allocations: 0.7253 MB / 0.9632 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.8382, allocations: 18.78 kB / 0.9632 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/0.8382, allocations: 0 / 0.9632 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of Templates: time 0.003927/0.8422, allocations: 1.892 MB / 0.9651 GB, free: 15.96 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.DerivativeCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.DerivativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.DerivativeCalcHelperMain.o] Error 1