Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008387, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009031/0.0009034, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.83/1.83, allocations: 205.4 MB / 223.1 MB, free: 5.762 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.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.0005991/0.0005993, allocations: 21.12 kB / 0.675 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3128, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00136/0.3142, allocations: 0.9391 MB / 0.7894 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.315, allocations: 380.8 kB / 0.7898 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.3151, allocations: 0 / 0.7898 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.3151, allocations: 0 / 0.7898 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.361e-05/0.3152, allocations: 0 / 0.7898 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.3156, allocations: 75.8 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.3157, allocations: 11.98 kB / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.3157, allocations: 0 / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.3158, allocations: 15.94 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.3158, allocations: 11.97 kB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3158, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.316, allocations: 91.84 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.316, allocations: 0 / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.3161, allocations: 41.62 kB / 0.79 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3162, allocations: 51.92 kB / 0.7901 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3162, allocations: 0 / 0.7901 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3162, allocations: 0 / 0.7901 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3162, allocations: 4 kB / 0.7901 GB, free: 9.973 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004604/0.3167, allocations: 373.4 kB / 0.7905 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3168, allocations: 15.97 kB / 0.7905 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3168, allocations: 0.9375 kB / 0.7905 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3169, allocations: 164.3 kB / 0.7906 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.317, allocations: 8.359 kB / 0.7906 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.317, allocations: 384 / 0.7906 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.3171, allocations: 42.23 kB / 0.7907 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3171, allocations: 4.188 kB / 0.7907 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.3172, allocations: 7.938 kB / 0.7907 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3172, allocations: 4 kB / 0.7907 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.902e-05/0.3172, allocations: 7.938 kB / 0.7907 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.3174, allocations: 149.7 kB / 0.7908 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3175, allocations: 34.55 kB / 0.7909 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.3175, allocations: 12.86 kB / 0.7909 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.3175, allocations: 0 / 0.7909 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.3177, allocations: 59.48 kB / 0.7909 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3177, allocations: 0 / 0.7909 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002058/0.3179, allocations: 69.56 kB / 0.791 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.318, allocations: 55.39 kB / 0.7911 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.3181, allocations: 97.86 kB / 0.7912 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3181, allocations: 25.7 kB / 0.7912 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.3181, allocations: 80.27 kB / 0.7913 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.3182, allocations: 19.8 kB / 0.7913 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.3182, allocations: 17.7 kB / 0.7913 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3183, allocations: 314.8 kB / 0.7916 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.3184, allocations: 4 kB / 0.7916 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.3184, allocations: 35.42 kB / 0.7916 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.3185, allocations: 51.38 kB / 0.7917 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3185, allocations: 0 / 0.7917 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001079/0.3186, allocations: 61.62 kB / 0.7917 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3186, allocations: 11.94 kB / 0.7917 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3186, allocations: 3.984 kB / 0.7918 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3187, allocations: 0 / 0.7918 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.3187, allocations: 11.94 kB / 0.7918 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3188, allocations: 4.094 kB / 0.7918 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.3188, allocations: 4 kB / 0.7918 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3188, allocations: 3.938 kB / 0.7918 GB, free: 7.996 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * 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 8.667e-05/0.3189, allocations: 117.8 kB / 0.7919 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.3189, allocations: 3.938 kB / 0.7919 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.3189, allocations: 7.719 kB / 0.7919 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.319, allocations: 4 kB / 0.7919 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.319, allocations: 3.984 kB / 0.7919 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.319, allocations: 0 / 0.7919 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.3191, allocations: 161.6 kB / 0.7921 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3191, allocations: 0 / 0.7921 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-06/0.3191, allocations: 0 / 0.7921 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3191, allocations: 7.938 kB / 0.7921 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3191, allocations: 0 / 0.7921 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3192, allocations: 0 / 0.7921 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3192, allocations: 3.938 kB / 0.7921 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.3193, allocations: 81.11 kB / 0.7921 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.3194, allocations: 81.11 kB / 0.7922 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3194, allocations: 11.88 kB / 0.7922 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.3194, allocations: 0 / 0.7922 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.3194, allocations: 3.984 kB / 0.7922 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3194, allocations: 0 / 0.7922 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.3195, allocations: 79.28 kB / 0.7923 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3195, allocations: 0 / 0.7923 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002402/0.3198, allocations: 28 kB / 0.7923 GB, free: 7.309 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 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003598/0.3201, allocations: 163.9 kB / 0.7925 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.3202, allocations: 27.92 kB / 0.7925 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3203, allocations: 0 / 0.7925 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.3203, allocations: 11.98 kB / 0.7925 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3204, allocations: 8 kB / 0.7925 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.3207, allocations: 132.5 kB / 0.7927 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.321, allocations: 0.6773 MB / 0.7933 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.321, allocations: 11.44 kB / 0.7933 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.321, allocations: 0 / 0.7933 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.003058/0.3241, allocations: 1.144 MB / 0.7945 GB, free: 5.09 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.o] Error 1