Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001523/0.001524, allocations: 96.14 kB / 15.87 MB, free: 16 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.001982/0.001982, allocations: 195.7 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.1 MB / 222.6 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 292.3 MB / 0.5491 GB, free: 13.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 64.03 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3462, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002316/0.3486, allocations: 0.7861 MB / 0.7841 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3497, allocations: 0.8293 MB / 0.7849 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.3498, allocations: 3.938 kB / 0.7849 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.3498, allocations: 3.938 kB / 0.7849 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.3499, allocations: 3.984 kB / 0.7849 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.3501, allocations: 23.92 kB / 0.785 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.3502, allocations: 31.98 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3504, allocations: 15.98 kB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.3505, allocations: 15.88 kB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.3506, allocations: 27.89 kB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3506, allocations: 0 / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.3506, allocations: 4 kB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.3506, allocations: 7.938 kB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.3507, allocations: 15.92 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.994e-05/0.3508, allocations: 35.94 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3508, allocations: 0 / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3508, allocations: 0 / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3508, allocations: 0 / 0.7851 GB, free: 12.21 MB / 0.6075 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.0007752/0.3516, allocations: 387.6 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3517, allocations: 12.03 kB / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3517, allocations: 0.9375 kB / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.3519, allocations: 176.2 kB / 0.7856 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3519, allocations: 384 / 0.7856 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3519, allocations: 4.375 kB / 0.7857 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.3522, allocations: 70.14 kB / 0.7857 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3522, allocations: 192 / 0.7857 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3522, allocations: 15.94 kB / 0.7857 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3522, allocations: 0 / 0.7857 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3524, allocations: 47.89 kB / 0.7858 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.353, allocations: 292.8 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.3533, allocations: 54.48 kB / 0.7861 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.3534, allocations: 25 kB / 0.7861 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3534, allocations: 0 / 0.7861 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3535, allocations: 34.56 kB / 0.7862 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3535, allocations: 4 kB / 0.7862 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003764/0.3539, allocations: 93.53 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3539, allocations: 55.34 kB / 0.7863 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.354, allocations: 117.8 kB / 0.7864 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.354, allocations: 25.7 kB / 0.7865 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3541, allocations: 84.14 kB / 0.7865 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.3541, allocations: 15.89 kB / 0.7865 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.3542, allocations: 17.72 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3543, allocations: 318.8 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.3544, allocations: 23.97 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.3545, allocations: 19.98 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3547, allocations: 40.81 kB / 0.7869 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3547, allocations: 4 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000209/0.3549, allocations: 81.5 kB / 0.787 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.355, allocations: 8 kB / 0.787 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.355, allocations: 0 / 0.787 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.355, allocations: 0 / 0.787 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.3551, allocations: 7.984 kB / 0.787 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3551, allocations: 4 kB / 0.787 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3552, allocations: 19.92 kB / 0.7871 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3552, allocations: 4 kB / 0.7871 GB, free: 9.965 MB / 0.6075 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 (onOffController.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.3553, allocations: 118.4 kB / 0.7872 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3553, allocations: 4.234 kB / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.3556, allocations: 93.47 kB / 0.7873 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3556, allocations: 0 / 0.7873 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3556, allocations: 4 kB / 0.7873 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3556, allocations: 0 / 0.7873 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3558, allocations: 169.6 kB / 0.7874 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3558, allocations: 0 / 0.7874 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.3559, allocations: 15.92 kB / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3559, allocations: 4 kB / 0.7875 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3559, allocations: 0 / 0.7875 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3559, allocations: 0 / 0.7875 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3559, allocations: 0 / 0.7875 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3562, allocations: 171.5 kB / 0.7876 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.3563, allocations: 81.02 kB / 0.7877 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3563, allocations: 0 / 0.7877 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3564, allocations: 19.97 kB / 0.7877 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.3565, allocations: 7.984 kB / 0.7877 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3565, allocations: 12.31 kB / 0.7877 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.3566, allocations: 91.22 kB / 0.7878 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3566, allocations: 0 / 0.7878 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002135/0.3568, allocations: 4 kB / 0.7878 GB, free: 9.078 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.357, allocations: 103.2 kB / 0.7879 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3572, allocations: 47.95 kB / 0.788 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3572, allocations: 0 / 0.788 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.3573, allocations: 23.98 kB / 0.788 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3577, allocations: 11.88 kB / 0.788 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3581, allocations: 161 kB / 0.7882 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3584, allocations: 0.6848 MB / 0.7888 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.3584, allocations: 11.44 kB / 0.7888 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of SimCode: time 1.8e-07/0.3584, allocations: 0 / 0.7888 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of Templates: time 0.002131/0.3606, allocations: 0.7763 MB / 0.7896 GB, free: 7.207 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffControllerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffControllerCalcHelperMain.o] Error 1