Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 100.5 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.001444/0.001445, allocations: 175.3 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.481/1.481, allocations: 223.2 MB / 240.6 MB, free: 5.438 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.507/2.507, allocations: 390.5 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003788, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9001/0.9005, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.0007935/0.9013, allocations: 477.5 kB / 0.9549 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.9025, allocations: 1.129 MB / 0.956 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.9026, allocations: 1.125 kB / 0.956 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.9026, allocations: 7.922 kB / 0.956 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.9026, allocations: 12.95 kB / 0.956 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.9031, allocations: 114.8 kB / 0.9561 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.9032, allocations: 100.2 kB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.9033, allocations: 15.55 kB / 0.9562 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.9034, allocations: 44.39 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.9035, allocations: 37.23 kB / 0.9563 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.9036, allocations: 6.219 kB / 0.9563 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.228e-05/0.9036, allocations: 23.86 kB / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.9037, allocations: 7.438 kB / 0.9563 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.9037, allocations: 44.84 kB / 0.9564 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.9038, allocations: 75.47 kB / 0.9564 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9038, allocations: 0 / 0.9564 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9039, allocations: 0 / 0.9564 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.9039, allocations: 0 / 0.9564 GB, free: 6.52 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004902/0.9044, allocations: 408.8 kB / 0.9568 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.9044, allocations: 8.844 kB / 0.9568 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.9045, allocations: 14.52 kB / 0.9569 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.071e-05/0.9045, allocations: 178.3 kB / 0.957 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.9046, allocations: 8.094 kB / 0.957 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.9046, allocations: 7.125 kB / 0.957 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.9048, allocations: 71.47 kB / 0.9571 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.9048, allocations: 4.938 kB / 0.9571 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.9048, allocations: 7.984 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.9048, allocations: 2.062 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.905, allocations: 66.97 kB / 0.9572 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.9054, allocations: 341.8 kB / 0.9575 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.9056, allocations: 64.92 kB / 0.9576 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.9057, allocations: 40.64 kB / 0.9576 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.9057, allocations: 5.062 kB / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.9059, allocations: 96.97 kB / 0.9577 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.906, allocations: 0 / 0.9577 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004049/0.9064, allocations: 165.8 kB / 0.9579 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.9064, allocations: 57.64 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.9065, allocations: 122.8 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.9065, allocations: 33.3 kB / 0.9581 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.9065, allocations: 99.52 kB / 0.9582 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.9066, allocations: 19.45 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.9066, allocations: 1.281 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.9066, allocations: 321.5 kB / 0.9585 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.9068, allocations: 51.38 kB / 0.9585 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.9069, allocations: 97.83 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.9071, allocations: 87.45 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9071, allocations: 2.531 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003765/0.9075, allocations: 217.6 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.9075, allocations: 45.88 kB / 0.959 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9075, allocations: 4.969 kB / 0.959 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.9076, allocations: 14.7 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.9077, allocations: 12.47 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.9077, allocations: 7.078 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.9079, allocations: 51.31 kB / 0.9591 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.9079, allocations: 10.73 kB / 0.9591 GB, free: 4.172 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * 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 7.07e-05/0.908, allocations: 127.7 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.908, allocations: 3.781 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.9083, allocations: 136.6 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.9083, allocations: 1.25 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9083, allocations: 1.344 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9083, allocations: 0 / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.9087, allocations: 391.8 kB / 0.9597 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9087, allocations: 0 / 0.9597 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.9088, allocations: 17.56 kB / 0.9597 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9088, allocations: 0 / 0.9597 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.9088, allocations: 1.375 kB / 0.9597 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9088, allocations: 3.938 kB / 0.9597 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9088, allocations: 5.234 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.909, allocations: 221.4 kB / 0.9599 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.9091, allocations: 82.89 kB / 0.96 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.9091, allocations: 5.859 kB / 0.96 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.9092, allocations: 18.77 kB / 0.96 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.9092, allocations: 6.25 kB / 0.96 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.9092, allocations: 7.094 kB / 0.9601 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.9093, allocations: 86.66 kB / 0.9601 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9093, allocations: 0 / 0.9601 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002664/0.9095, allocations: 29.36 kB / 0.9602 GB, free: 3.203 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001359/0.9097, allocations: 102.6 kB / 0.9603 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.91, allocations: 189.3 kB / 0.9604 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9101, allocations: 0 / 0.9604 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.9102, allocations: 54.39 kB / 0.9605 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.9105, allocations: 19.58 kB / 0.9605 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.9108, allocations: 211.6 kB / 0.9607 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.9109, allocations: 0.6897 MB / 0.9614 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.9109, allocations: 14.73 kB / 0.9614 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.911, allocations: 0 / 0.9614 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.002822/0.9138, allocations: 1.265 MB / 0.9626 GB, free: 1.414 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSamplerCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSamplerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSamplerCalcHelperMain.o] Error 1