Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 102.6 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.001643/0.001643, allocations: 175.8 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.156/1.156, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004192, allocations: 8 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 83.42 MB / 0.5981 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001671/0.2114, allocations: 1.116 MB / 0.5991 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008177/0.2123, allocations: 474.9 kB / 0.5996 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.2123, allocations: 4 kB / 0.5996 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.699e-05/0.2124, allocations: 7.922 kB / 0.5996 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.2124, allocations: 7.938 kB / 0.5996 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.2131, allocations: 187 kB / 0.5998 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.2132, allocations: 123.8 kB / 0.5999 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.2133, allocations: 12 kB / 0.5999 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.2134, allocations: 47.91 kB / 0.6 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.2134, allocations: 43.83 kB / 0.6 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.2135, allocations: 4 kB / 0.6 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.2137, allocations: 151.8 kB / 0.6002 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.2138, allocations: 35.84 kB / 0.6002 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.2138, allocations: 41.64 kB / 0.6002 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.2142, allocations: 167.9 kB / 0.6004 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2142, allocations: 4 kB / 0.6004 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.957e-06/0.2142, allocations: 0 / 0.6004 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.2142, allocations: 3.938 kB / 0.6004 GB, free: 5.387 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005302/0.2147, allocations: 419 kB / 0.6008 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2148, allocations: 12.03 kB / 0.6008 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.2148, allocations: 11.91 kB / 0.6008 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.2151, allocations: 208.7 kB / 0.601 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2151, allocations: 12 kB / 0.601 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.2151, allocations: 8 kB / 0.601 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.2153, allocations: 95.23 kB / 0.6011 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2153, allocations: 0 / 0.6011 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2153, allocations: 0 / 0.6011 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2153, allocations: 0 / 0.6011 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.2154, allocations: 35.98 kB / 0.6012 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.2157, allocations: 246.3 kB / 0.6014 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.2158, allocations: 77.19 kB / 0.6015 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.2159, allocations: 53.81 kB / 0.6015 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.2159, allocations: 3.984 kB / 0.6015 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.2161, allocations: 113 kB / 0.6016 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.083e-06/0.2161, allocations: 0 / 0.6016 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003001/0.2164, allocations: 185.5 kB / 0.6018 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.2164, allocations: 85.05 kB / 0.6019 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2166, allocations: 153.7 kB / 0.602 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2166, allocations: 37.7 kB / 0.6021 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.2167, allocations: 100.5 kB / 0.6022 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.2167, allocations: 39.55 kB / 0.6022 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.2167, allocations: 4 kB / 0.6022 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2169, allocations: 326.8 kB / 0.6025 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.2169, allocations: 36.17 kB / 0.6026 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.2171, allocations: 202.8 kB / 0.6028 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.2172, allocations: 55.92 kB / 0.6028 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2172, allocations: 4 kB / 0.6028 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002089/0.2175, allocations: 153.4 kB / 0.603 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2175, allocations: 12 kB / 0.603 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.2175, allocations: 0 / 0.603 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.2175, allocations: 4 kB / 0.603 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.2176, allocations: 15.92 kB / 0.603 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2176, allocations: 4 kB / 0.603 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.2179, allocations: 91.8 kB / 0.6031 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.2179, allocations: 7.938 kB / 0.6031 GB, free: 2.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001263/0.218, allocations: 137.8 kB / 0.6032 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.2181, allocations: 11.81 kB / 0.6032 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.2181, allocations: 12.72 kB / 0.6032 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2181, allocations: 0 / 0.6032 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.2181, allocations: 0 / 0.6032 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2181, allocations: 7.938 kB / 0.6033 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.2183, allocations: 193.7 kB / 0.6034 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2183, allocations: 0 / 0.6034 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.2183, allocations: 11.98 kB / 0.6034 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2183, allocations: 3.938 kB / 0.6035 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2184, allocations: 7.984 kB / 0.6035 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2184, allocations: 4 kB / 0.6035 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2184, allocations: 0 / 0.6035 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.2186, allocations: 181.7 kB / 0.6036 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.2186, allocations: 88.95 kB / 0.6037 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.2187, allocations: 0 / 0.6037 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.2187, allocations: 4 kB / 0.6037 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.2188, allocations: 15.98 kB / 0.6037 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2188, allocations: 4 kB / 0.6037 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.034e-05/0.2188, allocations: 113.6 kB / 0.6039 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2189, allocations: 0 / 0.6039 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002755/0.2191, allocations: 75.98 kB / 0.6039 GB, free: 1.363 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002305/0.2194, allocations: 164.8 kB / 0.6041 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.2196, allocations: 163.3 kB / 0.6042 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.2197, allocations: 4 kB / 0.6042 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-05/0.2197, allocations: 43.92 kB / 0.6043 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.2199, allocations: 7.984 kB / 0.6043 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.2203, allocations: 272.2 kB / 0.6046 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3211/0.5414, allocations: 0.7028 MB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.5415, allocations: 12.03 kB / 0.6052 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of SimCode: time 1.282e-06/0.5415, allocations: 0 / 0.6052 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.004765/0.5463, allocations: 2.467 MB / 0.6077 GB, free: 40.26 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1