Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001016, allocations: 92 kB / 16.02 MB, free: 80 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.001539/0.001538, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.941/1.941, allocations: 205.4 MB / 223.1 MB, free: 5.488 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.929/1.929, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0006138/0.000614, allocations: 16.58 kB / 0.675 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3194, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001307/0.3208, allocations: 0.5994 MB / 0.7891 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3219, allocations: 0.8749 MB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.3219, allocations: 0 / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.322, allocations: 3.938 kB / 0.79 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3221, allocations: 11.92 kB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.3223, allocations: 35.92 kB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3224, allocations: 103.7 kB / 0.7901 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3226, allocations: 41.09 kB / 0.7902 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3227, allocations: 35.84 kB / 0.7902 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3228, allocations: 43.7 kB / 0.7902 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.3228, allocations: 4 kB / 0.7903 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.552e-05/0.3229, allocations: 4 kB / 0.7903 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.3229, allocations: 11.92 kB / 0.7903 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.323, allocations: 65.44 kB / 0.7903 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3231, allocations: 92 kB / 0.7904 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3231, allocations: 0 / 0.7904 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3231, allocations: 4 kB / 0.7904 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3231, allocations: 4 kB / 0.7904 GB, free: 9.645 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009197/0.3241, allocations: 451.1 kB / 0.7909 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3241, allocations: 16.02 kB / 0.7909 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.3242, allocations: 12.84 kB / 0.7909 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3244, allocations: 176.1 kB / 0.7911 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3244, allocations: 8.375 kB / 0.7911 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3244, allocations: 8.312 kB / 0.7911 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.3247, allocations: 102.1 kB / 0.7912 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.3247, allocations: 8.062 kB / 0.7912 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3247, allocations: 7.938 kB / 0.7912 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3247, allocations: 4 kB / 0.7912 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.3249, allocations: 71.95 kB / 0.7913 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.3257, allocations: 424.3 kB / 0.7917 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3259, allocations: 62.56 kB / 0.7917 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.326, allocations: 36.97 kB / 0.7918 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.326, allocations: 0 / 0.7918 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.3261, allocations: 42.5 kB / 0.7918 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.3261, allocations: 4 kB / 0.7918 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000397/0.3265, allocations: 121.5 kB / 0.7919 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3265, allocations: 51.41 kB / 0.792 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3267, allocations: 164.9 kB / 0.7921 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3267, allocations: 25.7 kB / 0.7921 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.3268, allocations: 104 kB / 0.7922 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3268, allocations: 15.81 kB / 0.7923 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.3269, allocations: 13.72 kB / 0.7923 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.327, allocations: 318.8 kB / 0.7926 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.3271, allocations: 31.98 kB / 0.7926 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.382e-05/0.3272, allocations: 35.98 kB / 0.7926 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3274, allocations: 60.77 kB / 0.7927 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3274, allocations: 0 / 0.7927 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002268/0.3276, allocations: 113.5 kB / 0.7928 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3276, allocations: 4 kB / 0.7928 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3276, allocations: 0 / 0.7928 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3277, allocations: 0 / 0.7928 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.3278, allocations: 11.98 kB / 0.7928 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.3278, allocations: 3.938 kB / 0.7928 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.328, allocations: 36.05 kB / 0.7929 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.328, allocations: 4 kB / 0.7929 GB, free: 6.918 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001026/0.3281, allocations: 122.4 kB / 0.793 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3281, allocations: 11.91 kB / 0.793 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.3282, allocations: 16.3 kB / 0.793 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3282, allocations: 0 / 0.793 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3282, allocations: 3.938 kB / 0.793 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3282, allocations: 3.938 kB / 0.793 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3284, allocations: 201.6 kB / 0.7932 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3284, allocations: 0 / 0.7932 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.3285, allocations: 8 kB / 0.7932 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3285, allocations: 0 / 0.7932 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3285, allocations: 3.984 kB / 0.7932 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3285, allocations: 4 kB / 0.7932 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.3285, allocations: 11.88 kB / 0.7932 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.3288, allocations: 195.3 kB / 0.7934 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.3289, allocations: 85.02 kB / 0.7935 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3289, allocations: 4 kB / 0.7935 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.3291, allocations: 32.28 kB / 0.7935 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.3292, allocations: 15.91 kB / 0.7935 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3292, allocations: 8 kB / 0.7936 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.491e-05/0.3293, allocations: 115.3 kB / 0.7937 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3293, allocations: 0 / 0.7937 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002243/0.3295, allocations: 12 kB / 0.7937 GB, free: 5.98 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001374/0.3297, allocations: 107.2 kB / 0.7938 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3299, allocations: 71.97 kB / 0.7938 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3299, allocations: 0 / 0.7938 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.951e-05/0.33, allocations: 35.92 kB / 0.7939 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3304, allocations: 15.98 kB / 0.7939 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.3309, allocations: 260.8 kB / 0.7941 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3312, allocations: 0.6989 MB / 0.7948 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.3313, allocations: 15.44 kB / 0.7948 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of SimCode: time 1.873e-06/0.3313, allocations: 0 / 0.7948 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.002966/0.3343, allocations: 1.286 MB / 0.7961 GB, free: 3.445 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOffCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOffCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOffCalcHelperMain.o] Error 1