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.0009241/0.0009244, allocations: 103 kB / 15.71 MB, free: 460 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.001009/0.001009, allocations: 180.2 kB / 16.59 MB, free: 6.148 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.725/1.725, allocations: 205.4 MB / 222.8 MB, free: 5.836 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.885/1.885, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0006082/0.0006087, allocations: 15.97 kB / 0.6743 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3188, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001535/0.3204, allocations: 1.054 MB / 0.7889 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.3211, allocations: 333.1 kB / 0.7893 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.3212, allocations: 0 / 0.7893 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.842e-05/0.3213, allocations: 0 / 0.7893 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.3213, allocations: 15.92 kB / 0.7893 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.3217, allocations: 71.84 kB / 0.7893 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.3218, allocations: 35.86 kB / 0.7894 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.3218, allocations: 4 kB / 0.7894 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.3219, allocations: 23.91 kB / 0.7894 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.3219, allocations: 11.98 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.322, allocations: 4 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.3221, allocations: 71.86 kB / 0.7895 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.3222, allocations: 27.91 kB / 0.7895 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.3222, allocations: 49.64 kB / 0.7896 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3224, allocations: 111.8 kB / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3224, allocations: 0 / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3224, allocations: 0 / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3224, allocations: 0 / 0.7897 GB, free: 10.16 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.000515/0.323, allocations: 0.5046 MB / 0.7902 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.323, allocations: 12.03 kB / 0.7902 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3231, allocations: 15.81 kB / 0.7902 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3233, allocations: 170.9 kB / 0.7904 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.3233, allocations: 8 kB / 0.7904 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3233, allocations: 4 kB / 0.7904 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.3236, allocations: 241.6 kB / 0.7906 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3236, allocations: 3.938 kB / 0.7906 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3236, allocations: 0 / 0.7906 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3237, allocations: 0 / 0.7906 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3238, allocations: 144 kB / 0.7907 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.324, allocations: 201.4 kB / 0.7909 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.3244, allocations: 0.5337 MB / 0.7914 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.3249, allocations: 0.524 MB / 0.792 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.3249, allocations: 0 / 0.792 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/0.3253, allocations: 399.6 kB / 0.7923 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.503e-06/0.3253, allocations: 0 / 0.7923 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0007694/0.3261, allocations: 0.6854 MB / 0.793 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.3262, allocations: 105.1 kB / 0.7931 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.3262, allocations: 101.9 kB / 0.7932 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3263, allocations: 29.69 kB / 0.7932 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.3263, allocations: 80.8 kB / 0.7933 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.3264, allocations: 82.84 kB / 0.7934 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.3264, allocations: 0 / 0.7934 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3265, allocations: 322.8 kB / 0.7937 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.3266, allocations: 79.98 kB / 0.7938 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.3267, allocations: 91.91 kB / 0.7939 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3269, allocations: 174.9 kB / 0.794 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3269, allocations: 3.953 kB / 0.794 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003329/0.3272, allocations: 336.1 kB / 0.7944 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/0.3273, allocations: 77.64 kB / 0.7944 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3273, allocations: 0 / 0.7944 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3274, allocations: 0 / 0.7944 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.3274, allocations: 11.94 kB / 0.7944 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3274, allocations: 0 / 0.7944 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3276, allocations: 15.81 kB / 0.7945 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3276, allocations: 11.94 kB / 0.7945 GB, free: 4.977 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 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.3278, allocations: 273.7 kB / 0.7947 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.3279, allocations: 23.84 kB / 0.7948 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.036e-05/0.3279, allocations: 5.219 kB / 0.7948 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3279, allocations: 192 / 0.7948 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3279, allocations: 4 kB / 0.7948 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3279, allocations: 3.984 kB / 0.7948 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3281, allocations: 245.3 kB / 0.795 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3281, allocations: 7.938 kB / 0.795 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-06/0.3281, allocations: 3.953 kB / 0.795 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.3282, allocations: 0 / 0.795 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.3282, allocations: 19.98 kB / 0.795 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3282, allocations: 0 / 0.795 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3282, allocations: 0 / 0.795 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.3294, allocations: 1.271 MB / 0.7963 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.3295, allocations: 92.94 kB / 0.7964 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3296, allocations: 75.91 kB / 0.7964 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.3296, allocations: 11.94 kB / 0.7964 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.3297, allocations: 11.98 kB / 0.7965 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3297, allocations: 16.03 kB / 0.7965 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.533e-05/0.3298, allocations: 79.27 kB / 0.7965 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3298, allocations: 0 / 0.7965 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002791/0.33, allocations: 64 kB / 0.7966 GB, free: 2.684 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 (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.0004526/0.3305, allocations: 249.1 kB / 0.7968 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.3321, allocations: 1.964 MB / 0.7988 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3321, allocations: 4.062 kB / 0.7988 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.3336, allocations: 2.022 MB / 0.8007 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3338, allocations: 16 kB / 0.8008 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.3344, allocations: 388.2 kB / 0.8011 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3347, allocations: 0.713 MB / 0.8018 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.3348, allocations: 7.438 kB / 0.8018 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3348, allocations: 0 / 0.8018 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.004669/0.3394, allocations: 2.451 MB / 0.8042 GB, free: 10.8 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++ 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_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