Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008224/0.0008225, allocations: 102.7 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.0008335/0.0008338, allocations: 174.5 kB / 16.58 MB, free: 6.863 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.356/1.356, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7919/0.7919, allocations: 132.3 MB / 424 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003207, allocations: 9.688 kB / 0.504 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4942, allocations: 81.58 MB / 0.5837 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001485/0.4958, allocations: 1.116 MB / 0.5848 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.4965, allocations: 482.8 kB / 0.5852 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.4966, allocations: 0 / 0.5852 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.919e-05/0.4967, allocations: 8.562 kB / 0.5852 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.4967, allocations: 8.281 kB / 0.5852 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.4973, allocations: 194.6 kB / 0.5854 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.4975, allocations: 120 kB / 0.5855 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.4975, allocations: 2.656 kB / 0.5855 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.4976, allocations: 55.09 kB / 0.5856 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.4977, allocations: 43.53 kB / 0.5856 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.4977, allocations: 5.156 kB / 0.5856 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.498, allocations: 148.8 kB / 0.5858 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.4981, allocations: 35.14 kB / 0.5858 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.4981, allocations: 43.83 kB / 0.5859 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.4984, allocations: 158.5 kB / 0.586 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4984, allocations: 0.7188 kB / 0.586 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4984, allocations: 4 kB / 0.586 GB, free: 2.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.4984, allocations: 1.656 kB / 0.586 GB, free: 2.809 MB / 430.1 MB 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.0004091/0.4988, allocations: 423 kB / 0.5864 GB, free: 2.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4988, allocations: 10.12 kB / 0.5864 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.4989, allocations: 19.23 kB / 0.5864 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.4991, allocations: 196.8 kB / 0.5866 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4991, allocations: 10.52 kB / 0.5866 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.4991, allocations: 8.719 kB / 0.5866 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.4993, allocations: 91.14 kB / 0.5867 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.4993, allocations: 0.8125 kB / 0.5867 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4993, allocations: 1.312 kB / 0.5867 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4993, allocations: 0 / 0.5867 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.4994, allocations: 44.58 kB / 0.5868 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.4996, allocations: 236.4 kB / 0.587 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.4997, allocations: 87.81 kB / 0.5871 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.4998, allocations: 53.8 kB / 0.5871 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.4998, allocations: 1.641 kB / 0.5871 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.5, allocations: 117.8 kB / 0.5873 GB, free: 1.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.5, allocations: 0.8438 kB / 0.5873 GB, free: 1.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.000321/0.5003, allocations: 183 kB / 0.5874 GB, free: 1.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.5004, allocations: 87.44 kB / 0.5875 GB, free: 1.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.5005, allocations: 157.4 kB / 0.5877 GB, free: 1.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.5005, allocations: 35.05 kB / 0.5877 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.5006, allocations: 101.2 kB / 0.5878 GB, free: 1.254 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.5006, allocations: 32.2 kB / 0.5878 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/0.5006, allocations: 4 kB / 0.5878 GB, free: 1.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.5007, allocations: 327.5 kB / 0.5881 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.5008, allocations: 40.91 kB / 0.5882 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.501, allocations: 202.6 kB / 0.5884 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.51e-05/0.5011, allocations: 58.83 kB / 0.5884 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5011, allocations: 1.062 kB / 0.5884 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002338/0.5013, allocations: 157.9 kB / 0.5886 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5014, allocations: 5.25 kB / 0.5886 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.5014, allocations: 7.375 kB / 0.5886 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5014, allocations: 1.875 kB / 0.5886 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.5015, allocations: 16.88 kB / 0.5886 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5015, allocations: 5.172 kB / 0.5886 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.5018, allocations: 87.56 kB / 0.5887 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5018, allocations: 7.469 kB / 0.5887 GB, free: 0.5859 MB / 430.1 MB 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 9.302e-05/0.5019, allocations: 131.4 kB / 0.5888 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.5019, allocations: 11.84 kB / 0.5888 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.502, allocations: 14.42 kB / 0.5889 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.502, allocations: 1.656 kB / 0.5889 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.502, allocations: 1.312 kB / 0.5889 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.502, allocations: 4.75 kB / 0.5889 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.5021, allocations: 193.7 kB / 0.589 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5021, allocations: 0 / 0.589 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.5022, allocations: 15.19 kB / 0.5891 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5022, allocations: 0.75 kB / 0.5891 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5022, allocations: 7.562 kB / 0.5891 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.5022, allocations: 4 kB / 0.5891 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5022, allocations: 1.375 kB / 0.5891 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.5024, allocations: 184.4 kB / 0.5892 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.5025, allocations: 84.66 kB / 0.5893 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.5025, allocations: 2.156 kB / 0.5893 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.5025, allocations: 4.141 kB / 0.5893 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.5026, allocations: 14.38 kB / 0.5893 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5026, allocations: 2.531 kB / 0.5894 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.5027, allocations: 115.7 kB / 0.5895 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.5027, allocations: 3.938 kB / 0.5895 GB, free: 15.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.5031, allocations: 71.61 kB / 0.5895 GB, free: 15.89 MB / 446.1 MB 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.0002593/0.5034, allocations: 166.3 kB / 0.5897 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.5036, allocations: 165.1 kB / 0.5899 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5037, allocations: 4 kB / 0.5899 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.5037, allocations: 43.56 kB / 0.5899 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.5039, allocations: 10.59 kB / 0.5899 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.5044, allocations: 275.9 kB / 0.5902 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.5047, allocations: 0.7022 MB / 0.5909 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.5047, allocations: 16.16 kB / 0.5909 GB, free: 14.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5047, allocations: 0 / 0.5909 GB, free: 14.75 MB / 446.1 MB Notification: Performance of Templates: time 0.005114/0.5098, allocations: 2.415 MB / 0.5932 GB, free: 14.5 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1