Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000998/0.0009979, allocations: 99.12 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.0008868/0.0008869, allocations: 176.6 kB / 16.58 MB, free: 6.879 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.523/1.523, allocations: 223.3 MB / 240.6 MB, free: 5.391 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.481/2.481, allocations: 390.4 MB / 0.6662 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005221/0.0005221, allocations: 12 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8741/0.8747, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0009415/0.8757, allocations: 389.4 kB / 0.9548 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.8771, allocations: 1.144 MB / 0.9559 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.8772, allocations: 0 / 0.9559 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.8772, allocations: 1.031 kB / 0.9559 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.8773, allocations: 9.203 kB / 0.9559 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.8778, allocations: 127.6 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.8779, allocations: 107.5 kB / 0.9561 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.878, allocations: 2.969 kB / 0.9562 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.8781, allocations: 50.06 kB / 0.9562 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.8782, allocations: 41.62 kB / 0.9562 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.8783, allocations: 6.312 kB / 0.9562 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.8783, allocations: 20.14 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.8784, allocations: 14.62 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.8784, allocations: 37.83 kB / 0.9563 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.8786, allocations: 79.3 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8786, allocations: 4 kB / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8786, allocations: 0 / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.8786, allocations: 0 / 0.9564 GB, free: 6.562 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005264/0.8791, allocations: 383 kB / 0.9568 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.8792, allocations: 9.469 kB / 0.9568 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.8793, allocations: 9.453 kB / 0.9568 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.8794, allocations: 174 kB / 0.9569 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.8794, allocations: 7.281 kB / 0.9569 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.8794, allocations: 10.44 kB / 0.957 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.8796, allocations: 81.55 kB / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.8797, allocations: 0.9375 kB / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.8797, allocations: 0 / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.8797, allocations: 0.9688 kB / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.8799, allocations: 43.86 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.8803, allocations: 325.1 kB / 0.9574 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.8805, allocations: 75.33 kB / 0.9575 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.8806, allocations: 39.27 kB / 0.9575 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.8806, allocations: 3.938 kB / 0.9575 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.8809, allocations: 107.5 kB / 0.9576 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.8809, allocations: 0 / 0.9576 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005098/0.8814, allocations: 188.5 kB / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.8815, allocations: 52.5 kB / 0.9578 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.8816, allocations: 121.5 kB / 0.958 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.8816, allocations: 28.45 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.8816, allocations: 87.95 kB / 0.9581 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.8817, allocations: 18.03 kB / 0.9581 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.8817, allocations: 6.938 kB / 0.9581 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.8818, allocations: 320.8 kB / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.8819, allocations: 55.78 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.882, allocations: 73.3 kB / 0.9585 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.8822, allocations: 76.92 kB / 0.9586 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8822, allocations: 0 / 0.9586 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003845/0.8826, allocations: 202 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.8826, allocations: 45.06 kB / 0.9588 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.8827, allocations: 3.938 kB / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8827, allocations: 5.266 kB / 0.9588 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.8828, allocations: 18.77 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8828, allocations: 1.688 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.883, allocations: 48.94 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.883, allocations: 10.05 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.913e-05/0.8831, allocations: 122.6 kB / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.8831, allocations: 11.14 kB / 0.959 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.8832, allocations: 5.406 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8832, allocations: 4.984 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.8832, allocations: 0 / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8832, allocations: 5.078 kB / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.8837, allocations: 405.8 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8837, allocations: 0 / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.8837, allocations: 4.531 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8837, allocations: 1.125 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.8837, allocations: 9.062 kB / 0.9595 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8837, allocations: 5 kB / 0.9595 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8838, allocations: 0 / 0.9595 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.8841, allocations: 245.2 kB / 0.9597 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.8841, allocations: 78.89 kB / 0.9598 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.8842, allocations: 1.781 kB / 0.9598 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.8843, allocations: 15.53 kB / 0.9598 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.8843, allocations: 7.578 kB / 0.9598 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.8843, allocations: 7.594 kB / 0.9598 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.8844, allocations: 93.83 kB / 0.9599 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8844, allocations: 1.688 kB / 0.9599 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002551/0.8846, allocations: 24.97 kB / 0.9599 GB, free: 3.336 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: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001642/0.8848, allocations: 102.9 kB / 0.96 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.8852, allocations: 180.2 kB / 0.9602 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8852, allocations: 5.5 kB / 0.9602 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.8853, allocations: 58.16 kB / 0.9602 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.8856, allocations: 18.8 kB / 0.9603 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.886, allocations: 211.7 kB / 0.9605 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.8862, allocations: 0.6874 MB / 0.9611 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.8862, allocations: 12.72 kB / 0.9611 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8862, allocations: 0 / 0.9611 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.003479/0.8897, allocations: 1.374 MB / 0.9625 GB, free: 1.484 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoidCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoidCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoidCalcHelperMain.o] Error 1