Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.000912/0.0009121, allocations: 96.92 kB / 16.33 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008979/0.0008981, allocations: 188.7 kB / 17.23 MB, free: 5.496 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.478/1.478, allocations: 223.2 MB / 241.2 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7572/0.7572, allocations: 114.3 MB / 406.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 12 kB / 494.5 MB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4969, allocations: 77.25 MB / 0.5583 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001458/0.4984, allocations: 1.113 MB / 0.5594 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.4992, allocations: 473.1 kB / 0.5598 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.4992, allocations: 0.8125 kB / 0.5598 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.318e-05/0.4993, allocations: 9.703 kB / 0.5598 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.4994, allocations: 10.94 kB / 0.5599 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.5, allocations: 183.5 kB / 0.56 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.5002, allocations: 127.8 kB / 0.5602 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.5003, allocations: 5.219 kB / 0.5602 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.855e-05/0.5003, allocations: 52.23 kB / 0.5602 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.5004, allocations: 47.58 kB / 0.5603 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.5005, allocations: 5.188 kB / 0.5603 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.5007, allocations: 151 kB / 0.5604 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.5008, allocations: 31.62 kB / 0.5604 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.5009, allocations: 39.05 kB / 0.5605 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.5011, allocations: 159.5 kB / 0.5606 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5011, allocations: 1 kB / 0.5606 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5011, allocations: 0 / 0.5606 GB, free: 35.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.5011, allocations: 0 / 0.5606 GB, free: 35.31 MB / 446.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.00052/0.5017, allocations: 429.1 kB / 0.561 GB, free: 34.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5017, allocations: 14.8 kB / 0.561 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.5018, allocations: 14.31 kB / 0.5611 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.5019, allocations: 204.4 kB / 0.5613 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.502, allocations: 10.16 kB / 0.5613 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.502, allocations: 18.83 kB / 0.5613 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.5021, allocations: 79.52 kB / 0.5614 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5022, allocations: 1.406 kB / 0.5614 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5022, allocations: 0 / 0.5614 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5022, allocations: 2.984 kB / 0.5614 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.5023, allocations: 39.22 kB / 0.5614 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.5025, allocations: 232.3 kB / 0.5616 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.5026, allocations: 80.77 kB / 0.5617 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.5027, allocations: 53.52 kB / 0.5618 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.5027, allocations: 0.7969 kB / 0.5618 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.5029, allocations: 117.6 kB / 0.5619 GB, free: 34.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.5029, allocations: 0 / 0.5619 GB, free: 34.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000342/0.5033, allocations: 189.8 kB / 0.562 GB, free: 34.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5033, allocations: 88.39 kB / 0.5621 GB, free: 34.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.5034, allocations: 148.2 kB / 0.5623 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.5035, allocations: 33.8 kB / 0.5623 GB, free: 33.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.5035, allocations: 112.7 kB / 0.5624 GB, free: 33.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.5036, allocations: 35.31 kB / 0.5624 GB, free: 33.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.5036, allocations: 5.5 kB / 0.5625 GB, free: 33.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.5036, allocations: 326.3 kB / 0.5628 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.5037, allocations: 41.5 kB / 0.5628 GB, free: 33.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.5039, allocations: 201.9 kB / 0.563 GB, free: 33.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.504, allocations: 68.14 kB / 0.5631 GB, free: 33.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.504, allocations: 1.219 kB / 0.5631 GB, free: 33.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002276/0.5043, allocations: 159.8 kB / 0.5632 GB, free: 33.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5043, allocations: 6.375 kB / 0.5632 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.5043, allocations: 4.391 kB / 0.5632 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5043, allocations: 1.5 kB / 0.5632 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.5044, allocations: 7.578 kB / 0.5632 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5044, allocations: 2.172 kB / 0.5632 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.5047, allocations: 93.66 kB / 0.5633 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.5048, allocations: 4.094 kB / 0.5633 GB, free: 33.12 MB / 446.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 0.0001137/0.5049, allocations: 141.6 kB / 0.5635 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.5049, allocations: 13.61 kB / 0.5635 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.5049, allocations: 13.69 kB / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.505, allocations: 2.312 kB / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.505, allocations: 1.031 kB / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.505, allocations: 1.594 kB / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.5051, allocations: 198.8 kB / 0.5637 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5051, allocations: 0 / 0.5637 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.5052, allocations: 7.531 kB / 0.5637 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5052, allocations: 5.484 kB / 0.5637 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.5052, allocations: 6.531 kB / 0.5637 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5052, allocations: 0.9688 kB / 0.5637 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5052, allocations: 3.266 kB / 0.5637 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.5055, allocations: 180.2 kB / 0.5639 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.5055, allocations: 89.45 kB / 0.564 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.5056, allocations: 6.516 kB / 0.564 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.304e-05/0.5056, allocations: 5.406 kB / 0.564 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.5057, allocations: 9.562 kB / 0.564 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.5057, allocations: 8.188 kB / 0.564 GB, free: 32.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.947e-05/0.5058, allocations: 111.1 kB / 0.5641 GB, free: 32.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5058, allocations: 1.25 kB / 0.5641 GB, free: 32.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.5061, allocations: 76 kB / 0.5642 GB, free: 32.43 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.0002536/0.5064, allocations: 156.1 kB / 0.5643 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.5067, allocations: 160.2 kB / 0.5645 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5067, allocations: 3.188 kB / 0.5645 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.5068, allocations: 46.73 kB / 0.5645 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.507, allocations: 6.812 kB / 0.5645 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.5074, allocations: 272.4 kB / 0.5648 GB, free: 32.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.5077, allocations: 0.7081 MB / 0.5655 GB, free: 31.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.5077, allocations: 12.77 kB / 0.5655 GB, free: 31.3 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.5077, allocations: 1.062 kB / 0.5655 GB, free: 31.3 MB / 446.1 MB Notification: Performance of Templates: time 0.005343/0.5131, allocations: 2.411 MB / 0.5678 GB, free: 31.12 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1