Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009952/0.0009952, allocations: 99.2 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.001309/0.001309, allocations: 173.5 kB / 16.58 MB, free: 6.418 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.542/1.542, allocations: 223.2 MB / 240.6 MB, free: 5.414 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.699/2.699, allocations: 390.5 MB / 0.6662 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 16 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8541, allocations: 142.3 MB / 0.9544 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009888/0.8551, allocations: 433.2 kB / 0.9548 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009856/0.8561, allocations: 0.8222 MB / 0.9556 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.8562, allocations: 0.9688 kB / 0.9556 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.8562, allocations: 3.938 kB / 0.9556 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.8563, allocations: 5.188 kB / 0.9556 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.8565, allocations: 18.75 kB / 0.9557 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.8566, allocations: 42.06 kB / 0.9557 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.8567, allocations: 9.219 kB / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.8568, allocations: 17.33 kB / 0.9557 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.8568, allocations: 20.2 kB / 0.9558 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.8568, allocations: 2.812 kB / 0.9558 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.8569, allocations: 1.281 kB / 0.9558 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.8569, allocations: 8.984 kB / 0.9558 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.8569, allocations: 32.11 kB / 0.9558 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.042e-05/0.857, allocations: 25.86 kB / 0.9558 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.857, allocations: 1.219 kB / 0.9558 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/0.857, allocations: 0 / 0.9558 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.857, allocations: 0 / 0.9558 GB, free: 7.023 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005725/0.8576, allocations: 391.5 kB / 0.9562 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8577, allocations: 9.281 kB / 0.9562 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.8577, allocations: 10.2 kB / 0.9562 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.88e-05/0.8578, allocations: 173.5 kB / 0.9564 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.8578, allocations: 5.281 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.8578, allocations: 2.5 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.8581, allocations: 63.86 kB / 0.9564 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8581, allocations: 0 / 0.9564 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.8581, allocations: 1.438 kB / 0.9564 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.8581, allocations: 0 / 0.9564 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.8583, allocations: 62.31 kB / 0.9565 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.8588, allocations: 304.6 kB / 0.9568 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.859, allocations: 57.27 kB / 0.9569 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.086e-05/0.8591, allocations: 32.72 kB / 0.9569 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.8592, allocations: 5.453 kB / 0.9569 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.8592, allocations: 34.52 kB / 0.9569 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8592, allocations: 5.281 kB / 0.9569 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003654/0.8596, allocations: 111.5 kB / 0.957 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.8596, allocations: 51.41 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.8597, allocations: 113.7 kB / 0.9572 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.8597, allocations: 26.55 kB / 0.9572 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.8597, allocations: 98.38 kB / 0.9573 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.8598, allocations: 5.531 kB / 0.9573 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.8598, allocations: 0 / 0.9573 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.8598, allocations: 325.3 kB / 0.9576 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.8599, allocations: 27.62 kB / 0.9577 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.86, allocations: 29.39 kB / 0.9577 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.999e-05/0.8601, allocations: 31.08 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.8601, allocations: 0 / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002015/0.8603, allocations: 84.09 kB / 0.9578 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8603, allocations: 8.766 kB / 0.9578 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8604, allocations: 4 kB / 0.9578 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.8604, allocations: 5.234 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.8604, allocations: 8.875 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.8605, allocations: 0 / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.8606, allocations: 22.47 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.8606, allocations: 1.125 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.814e-05/0.8606, allocations: 116.5 kB / 0.9579 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.8607, allocations: 5.375 kB / 0.958 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.8609, allocations: 95.78 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8609, allocations: 1.438 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8609, allocations: 4 kB / 0.958 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.8609, allocations: 0 / 0.958 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.8611, allocations: 165.1 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8611, allocations: 4.656 kB / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.8612, allocations: 13.95 kB / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8612, allocations: 0 / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.8612, allocations: 0 / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8612, allocations: 3.953 kB / 0.9582 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8612, allocations: 2.531 kB / 0.9582 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.8614, allocations: 186.4 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.8615, allocations: 78.27 kB / 0.9585 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.8615, allocations: 1.219 kB / 0.9585 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.8616, allocations: 28.91 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.8617, allocations: 11.94 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.8617, allocations: 0 / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.8617, allocations: 87.53 kB / 0.9586 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8617, allocations: 0 / 0.9586 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002155/0.862, allocations: 5.438 kB / 0.9586 GB, free: 4.34 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001469/0.8621, allocations: 106.9 kB / 0.9587 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.8624, allocations: 60.77 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8624, allocations: 1.125 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.8625, allocations: 43.11 kB / 0.9588 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.8628, allocations: 6.312 kB / 0.9588 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.8631, allocations: 152.6 kB / 0.959 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.8632, allocations: 0.6887 MB / 0.9596 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.8633, allocations: 9.625 kB / 0.9596 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8633, allocations: 0 / 0.9596 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.00252/0.8658, allocations: 0.7648 MB / 0.9604 GB, free: 2.938 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffControllerCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffControllerCalcHelperMain.o] Error 1