Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008945/0.0008943, 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.000934/0.000934, 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.511/1.511, allocations: 223.2 MB / 240.6 MB, free: 5.43 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.482/2.482, allocations: 390.5 MB / 0.6662 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003822, allocations: 12 kB / 0.8155 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8546, allocations: 142.3 MB / 0.9544 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002418/0.8571, allocations: 1.613 MB / 0.956 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.859, allocations: 1.019 MB / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.8592, allocations: 11.16 kB / 0.957 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.8597, allocations: 94.91 kB / 0.9571 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.8599, allocations: 86.48 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.8604, allocations: 124.2 kB / 0.9573 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.8606, allocations: 185.6 kB / 0.9575 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.8608, allocations: 36.16 kB / 0.9575 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.8609, allocations: 76.44 kB / 0.9576 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.8611, allocations: 86.28 kB / 0.9577 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.8611, allocations: 3.469 kB / 0.9577 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.8613, allocations: 52.08 kB / 0.9577 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.8613, allocations: 51.41 kB / 0.9578 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.8614, allocations: 54.67 kB / 0.9578 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.8617, allocations: 222 kB / 0.958 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.8617, allocations: 0 / 0.958 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8617, allocations: 0 / 0.958 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8617, allocations: 0 / 0.958 GB, free: 5.566 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007856/0.8625, allocations: 0.5234 MB / 0.9586 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8626, allocations: 9.281 kB / 0.9586 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.8626, allocations: 27.39 kB / 0.9586 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.863, allocations: 293.8 kB / 0.9589 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.863, allocations: 7.406 kB / 0.9589 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.8631, allocations: 5.469 kB / 0.9589 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.8633, allocations: 92.73 kB / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.8633, allocations: 0 / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.8633, allocations: 4 kB / 0.959 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.8633, allocations: 13.78 kB / 0.959 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.8634, allocations: 48.09 kB / 0.959 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.8641, allocations: 450.4 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.8644, allocations: 92.78 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.8644, allocations: 31.23 kB / 0.9596 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.8645, allocations: 1.781 kB / 0.9596 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.8646, allocations: 88.27 kB / 0.9597 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.8647, allocations: 0 / 0.9597 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003526/0.865, allocations: 146.6 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.865, allocations: 52.78 kB / 0.9599 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.8654, allocations: 374.2 kB / 0.9602 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.8655, allocations: 31.08 kB / 0.9602 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.8655, allocations: 140.7 kB / 0.9604 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.8656, allocations: 27.86 kB / 0.9604 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.8656, allocations: 0 / 0.9604 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.8657, allocations: 339.1 kB / 0.9607 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.8658, allocations: 60.94 kB / 0.9608 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.8659, allocations: 80.44 kB / 0.9609 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.866, allocations: 62.62 kB / 0.9609 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8661, allocations: 1.031 kB / 0.9609 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003262/0.8664, allocations: 204.8 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8664, allocations: 6.031 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8664, allocations: 0 / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8664, allocations: 1.312 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.8666, allocations: 27.36 kB / 0.9612 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8666, allocations: 1.969 kB / 0.9612 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.8667, allocations: 22.8 kB / 0.9612 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.8668, allocations: 8.141 kB / 0.9612 GB, free: 2.961 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: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000125/0.8669, allocations: 158.3 kB / 0.9613 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.8669, allocations: 25.66 kB / 0.9614 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.867, allocations: 27.73 kB / 0.9614 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.867, allocations: 1.031 kB / 0.9614 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.867, allocations: 0.9688 kB / 0.9614 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.867, allocations: 7.875 kB / 0.9614 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.8672, allocations: 266.6 kB / 0.9616 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8672, allocations: 1 kB / 0.9616 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.8673, allocations: 4.156 kB / 0.9617 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.8673, allocations: 5.125 kB / 0.9617 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.8673, allocations: 0.9062 kB / 0.9617 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8673, allocations: 0.7188 kB / 0.9617 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.8673, allocations: 4.734 kB / 0.9617 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.8676, allocations: 145 kB / 0.9618 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.8676, allocations: 100.9 kB / 0.9619 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.8677, allocations: 6 kB / 0.9619 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.8678, allocations: 17.27 kB / 0.9619 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.8679, allocations: 17.81 kB / 0.9619 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.8679, allocations: 3 kB / 0.9619 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002144/0.8681, allocations: 236.1 kB / 0.9622 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8681, allocations: 0 / 0.9622 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002611/0.8684, allocations: 38.47 kB / 0.9622 GB, free: 2.102 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00101/0.8694, allocations: 431.2 kB / 0.9626 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.8697, allocations: 118.7 kB / 0.9627 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8697, allocations: 0 / 0.9627 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.8698, allocations: 37.64 kB / 0.9628 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.8701, allocations: 46.31 kB / 0.9628 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.8708, allocations: 461.3 kB / 0.9632 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.871, allocations: 0.7458 MB / 0.964 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.8711, allocations: 31.17 kB / 0.964 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8711, allocations: 4 kB / 0.964 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of Templates: time 0.006014/0.8771, allocations: 3.164 MB / 0.9671 GB, free: 15.1 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThresholdCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThresholdCalcHelperMain.o] Error 1