Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.00107, allocations: 102.6 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.001237/0.001237, allocations: 172.5 kB / 16.58 MB, free: 6.398 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.468/1.468, allocations: 223.3 MB / 240.6 MB, free: 5.32 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.629/2.629, allocations: 390.5 MB / 0.6662 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 12 kB / 0.8155 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8409/0.8413, allocations: 142.3 MB / 0.9544 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001006/0.8424, allocations: 0.6968 MB / 0.9551 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.8437, allocations: 1.295 MB / 0.9564 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.8438, allocations: 5.281 kB / 0.9564 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.8438, allocations: 3.938 kB / 0.9564 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.8439, allocations: 27.33 kB / 0.9564 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.8445, allocations: 222.8 kB / 0.9566 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.8448, allocations: 259.8 kB / 0.9569 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.8449, allocations: 42.48 kB / 0.9569 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.845, allocations: 94.03 kB / 0.957 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.8451, allocations: 93.34 kB / 0.9571 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.8452, allocations: 11.84 kB / 0.9571 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-05/0.8452, allocations: 27.17 kB / 0.9571 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.8453, allocations: 30.41 kB / 0.9572 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.8453, allocations: 57.88 kB / 0.9572 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.8455, allocations: 243.8 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8455, allocations: 4 kB / 0.9575 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8456, allocations: 0 / 0.9575 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8456, allocations: 1.219 kB / 0.9575 GB, free: 5.746 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006046/0.8462, allocations: 0.5285 MB / 0.958 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.8462, allocations: 8.688 kB / 0.958 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.8463, allocations: 30.11 kB / 0.958 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.847, allocations: 318.7 kB / 0.9583 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.847, allocations: 11.47 kB / 0.9583 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.8471, allocations: 17.94 kB / 0.9583 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.8473, allocations: 139.7 kB / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8473, allocations: 5.188 kB / 0.9585 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.8473, allocations: 5.094 kB / 0.9585 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.8473, allocations: 2.906 kB / 0.9585 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.8476, allocations: 81.28 kB / 0.9586 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.8481, allocations: 0.6438 MB / 0.9592 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.8485, allocations: 142 kB / 0.9593 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.8486, allocations: 58.55 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.8486, allocations: 5.25 kB / 0.9594 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.8489, allocations: 150.6 kB / 0.9595 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.8489, allocations: 3.938 kB / 0.9595 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0005005/0.8494, allocations: 209.1 kB / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.8494, allocations: 114 kB / 0.9598 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.8496, allocations: 195.8 kB / 0.96 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.8496, allocations: 36.08 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.8497, allocations: 122.6 kB / 0.9602 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.8497, allocations: 36.61 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.8498, allocations: 4.438 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.8498, allocations: 330.2 kB / 0.9605 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.85, allocations: 93.92 kB / 0.9606 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.8503, allocations: 166.8 kB / 0.9608 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.8505, allocations: 153 kB / 0.9609 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8505, allocations: 1 kB / 0.9609 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005826/0.8511, allocations: 360.6 kB / 0.9613 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.8512, allocations: 65.02 kB / 0.9613 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.8512, allocations: 1.375 kB / 0.9613 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.8512, allocations: 2.75 kB / 0.9613 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.8513, allocations: 26.38 kB / 0.9614 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.8513, allocations: 6.688 kB / 0.9614 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.8517, allocations: 97.62 kB / 0.9615 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.8517, allocations: 18.98 kB / 0.9615 GB, free: 2.305 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001048/0.8518, allocations: 132 kB / 0.9616 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.8518, allocations: 16.66 kB / 0.9616 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.8521, allocations: 105.6 kB / 0.9617 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8521, allocations: 2.438 kB / 0.9617 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.8521, allocations: 9.109 kB / 0.9617 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8521, allocations: 5.109 kB / 0.9617 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.8523, allocations: 228.9 kB / 0.962 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.8523, allocations: 5.016 kB / 0.962 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.8524, allocations: 13.16 kB / 0.962 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.8524, allocations: 2.344 kB / 0.962 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.8524, allocations: 9.859 kB / 0.962 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8524, allocations: 1 kB / 0.962 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8524, allocations: 5.156 kB / 0.962 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.8527, allocations: 210.4 kB / 0.9622 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.8528, allocations: 93.86 kB / 0.9623 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.8528, allocations: 15.14 kB / 0.9623 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.8529, allocations: 11.58 kB / 0.9623 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.853, allocations: 27.17 kB / 0.9623 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.853, allocations: 12.72 kB / 0.9623 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.714e-05/0.8531, allocations: 142.3 kB / 0.9625 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8531, allocations: 0 / 0.9625 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002823/0.8534, allocations: 50.33 kB / 0.9625 GB, free: 1.414 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001714/0.8536, allocations: 116.9 kB / 0.9626 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.8541, allocations: 323.9 kB / 0.963 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8541, allocations: 1.156 kB / 0.963 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.8543, allocations: 71.72 kB / 0.963 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.8546, allocations: 42.56 kB / 0.9631 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.8551, allocations: 362.9 kB / 0.9634 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.8552, allocations: 0.7241 MB / 0.9641 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.8553, allocations: 19.56 kB / 0.9641 GB, free: 16 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8553, allocations: 0 / 0.9641 GB, free: 16 kB / 0.7169 GB Notification: Performance of Templates: time 0.005033/0.8603, allocations: 2.764 MB / 0.9668 GB, free: 14.61 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.HysteresisCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.HysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.HysteresisCalcHelperMain.o] Error 1