Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007767/0.0007767, allocations: 98.72 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.0008866/0.0008865, allocations: 184.5 kB / 16.92 MB, free: 6.895 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.803/1.803, 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 2.004/2.004, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005803/0.0005803, allocations: 11.56 kB / 0.675 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3071, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001807/0.3089, allocations: 1.066 MB / 0.7896 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.3099, allocations: 361 kB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.3099, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.178e-05/0.31, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.31, allocations: 7.922 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3104, allocations: 83.86 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.167e-05/0.3105, allocations: 39.86 kB / 0.79 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.3106, allocations: 7.984 kB / 0.7901 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.3106, allocations: 11.98 kB / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.3107, allocations: 23.91 kB / 0.7901 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3107, allocations: 0 / 0.7901 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.3109, allocations: 79.86 kB / 0.7902 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.3109, allocations: 27.92 kB / 0.7902 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.311, allocations: 73.38 kB / 0.7903 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.3112, allocations: 111.8 kB / 0.7904 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3112, allocations: 0 / 0.7904 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3112, allocations: 0 / 0.7904 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.3112, allocations: 0 / 0.7904 GB, free: 9.691 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006896/0.3119, allocations: 0.5048 MB / 0.7909 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.312, allocations: 8.031 kB / 0.7909 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3121, allocations: 16.75 kB / 0.7909 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3123, allocations: 172.3 kB / 0.791 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3123, allocations: 4.375 kB / 0.7911 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3124, allocations: 4.375 kB / 0.7911 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.3128, allocations: 249.9 kB / 0.7913 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3128, allocations: 192 / 0.7913 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3128, allocations: 7.938 kB / 0.7913 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3128, allocations: 0 / 0.7913 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.3131, allocations: 147.9 kB / 0.7914 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.3134, allocations: 197.4 kB / 0.7916 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.3138, allocations: 0.5298 MB / 0.7921 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/0.3143, allocations: 0.5243 MB / 0.7927 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3143, allocations: 4 kB / 0.7927 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.3147, allocations: 395.7 kB / 0.793 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.263e-06/0.3147, allocations: 0 / 0.793 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0007971/0.3155, allocations: 0.6931 MB / 0.7937 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.3156, allocations: 101.1 kB / 0.7938 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3158, allocations: 101.8 kB / 0.7939 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3158, allocations: 33.73 kB / 0.7939 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.3158, allocations: 80.8 kB / 0.794 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.3159, allocations: 82.84 kB / 0.7941 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.316, allocations: 25.7 kB / 0.7941 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002574/0.3163, allocations: 326.8 kB / 0.7944 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.3164, allocations: 87.97 kB / 0.7945 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3165, allocations: 75.98 kB / 0.7946 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.317, allocations: 361.3 kB / 0.7949 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.317, allocations: 0 / 0.7949 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006185/0.3176, allocations: 332.2 kB / 0.7953 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.3177, allocations: 81.58 kB / 0.7953 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3177, allocations: 0 / 0.7953 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3177, allocations: 0 / 0.7953 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.3178, allocations: 0 / 0.7953 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3178, allocations: 7.938 kB / 0.7953 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3179, allocations: 23.8 kB / 0.7954 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.318, allocations: 8 kB / 0.7954 GB, free: 4.277 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: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002488/0.3182, allocations: 266.3 kB / 0.7956 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.3183, allocations: 31.75 kB / 0.7957 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-06/0.3183, allocations: 5.219 kB / 0.7957 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3183, allocations: 192 / 0.7957 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3183, allocations: 0 / 0.7957 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3183, allocations: 3.984 kB / 0.7957 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3185, allocations: 245.4 kB / 0.7959 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3185, allocations: 0 / 0.7959 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3185, allocations: 0 / 0.7959 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3185, allocations: 7.938 kB / 0.7959 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.3186, allocations: 19.92 kB / 0.7959 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3186, allocations: 0 / 0.7959 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3186, allocations: 4 kB / 0.7959 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.3198, allocations: 1.283 MB / 0.7972 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.3198, allocations: 88.95 kB / 0.7973 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.32, allocations: 75.89 kB / 0.7973 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.3201, allocations: 11.94 kB / 0.7974 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3202, allocations: 11.98 kB / 0.7974 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.3202, allocations: 15.98 kB / 0.7974 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.3202, allocations: 83.31 kB / 0.7975 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3203, allocations: 0 / 0.7975 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002903/0.3206, allocations: 68 kB / 0.7975 GB, free: 1.973 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005985/0.3212, allocations: 247.2 kB / 0.7978 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.3231, allocations: 1.967 MB / 0.7997 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3231, allocations: 0 / 0.7997 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.3247, allocations: 2.011 MB / 0.8016 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.3249, allocations: 24 kB / 0.8017 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.3255, allocations: 396.2 kB / 0.802 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.3261, allocations: 0.713 MB / 0.8027 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.3262, allocations: 7.438 kB / 0.8027 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of SimCode: time 3.8e-07/0.3262, allocations: 4 kB / 0.8028 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.004759/0.3309, allocations: 2.423 MB / 0.8051 GB, free: 10.11 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.o] Error 1