Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008141/0.0008144, allocations: 89.17 kB / 16.33 MB, free: 6.336 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.0008663/0.0008663, allocations: 189.1 kB / 17.23 MB, free: 6.242 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.438/1.438, allocations: 223.2 MB / 241.2 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7549/0.7549, allocations: 114.3 MB / 406.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 4.781 kB / 494.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1768, allocations: 77.27 MB / 0.5583 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001577/0.1785, allocations: 1.166 MB / 0.5594 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006172/0.1791, allocations: 415.3 kB / 0.5598 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.1791, allocations: 0 / 0.5598 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.1792, allocations: 7.984 kB / 0.5598 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.1793, allocations: 7.922 kB / 0.5599 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.1794, allocations: 11.98 kB / 0.5599 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.984e-05/0.1795, allocations: 51.84 kB / 0.5599 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.1796, allocations: 8 kB / 0.5599 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.686e-05/0.1797, allocations: 15.92 kB / 0.5599 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.1798, allocations: 15.92 kB / 0.56 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1798, allocations: 7.984 kB / 0.56 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.1798, allocations: 0 / 0.56 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.1798, allocations: 19.92 kB / 0.56 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.1799, allocations: 29.7 kB / 0.56 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.031e-05/0.18, allocations: 27.95 kB / 0.56 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.18, allocations: 0 / 0.56 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.18, allocations: 0 / 0.56 GB, free: 9.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.18, allocations: 0 / 0.56 GB, free: 9.176 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004821/0.1805, allocations: 355.5 kB / 0.5604 GB, free: 8.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1805, allocations: 16.02 kB / 0.5604 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.1806, allocations: 4 kB / 0.5604 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1807, allocations: 174.9 kB / 0.5606 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1807, allocations: 4 kB / 0.5606 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1808, allocations: 7.984 kB / 0.5606 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1809, allocations: 49.69 kB / 0.5606 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1809, allocations: 3.953 kB / 0.5606 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1809, allocations: 11.94 kB / 0.5606 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1809, allocations: 0 / 0.5606 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.181, allocations: 23.92 kB / 0.5607 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.1815, allocations: 308.8 kB / 0.561 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1816, allocations: 54.59 kB / 0.561 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.1816, allocations: 24.95 kB / 0.561 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.1817, allocations: 7.984 kB / 0.561 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1818, allocations: 79.22 kB / 0.5611 GB, free: 7.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1819, allocations: 0 / 0.5611 GB, free: 7.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002285/0.1821, allocations: 93.61 kB / 0.5612 GB, free: 7.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1821, allocations: 55.41 kB / 0.5613 GB, free: 7.742 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.1822, allocations: 113.8 kB / 0.5614 GB, free: 7.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1823, allocations: 29.7 kB / 0.5614 GB, free: 7.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.1823, allocations: 88.05 kB / 0.5615 GB, free: 7.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.1823, allocations: 19.75 kB / 0.5615 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.1823, allocations: 0 / 0.5615 GB, free: 7.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1825, allocations: 322.8 kB / 0.5618 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.1825, allocations: 15.98 kB / 0.5618 GB, free: 7.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.425e-05/0.1826, allocations: 47.09 kB / 0.5619 GB, free: 7.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.162e-05/0.1826, allocations: 27.98 kB / 0.5619 GB, free: 7.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1826, allocations: 3.953 kB / 0.5619 GB, free: 7.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001329/0.1828, allocations: 89.53 kB / 0.562 GB, free: 6.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1828, allocations: 11.98 kB / 0.562 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1828, allocations: 0 / 0.562 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1828, allocations: 0 / 0.562 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.1829, allocations: 11.94 kB / 0.562 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1829, allocations: 4 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.183, allocations: 16.08 kB / 0.562 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.183, allocations: 11.98 kB / 0.562 GB, free: 6.902 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.627e-05/0.1831, allocations: 113.8 kB / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.1831, allocations: 15.8 kB / 0.5622 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.1831, allocations: 7.969 kB / 0.5622 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1832, allocations: 4 kB / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1832, allocations: 0 / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1832, allocations: 0 / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.1836, allocations: 374.7 kB / 0.5625 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1836, allocations: 0 / 0.5625 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.1836, allocations: 4.094 kB / 0.5625 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1836, allocations: 3.938 kB / 0.5625 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1836, allocations: 4 kB / 0.5625 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1836, allocations: 4 kB / 0.5625 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1836, allocations: 0 / 0.5625 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.1838, allocations: 183.4 kB / 0.5627 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.1839, allocations: 88.95 kB / 0.5628 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1839, allocations: 0 / 0.5628 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.184, allocations: 11.98 kB / 0.5628 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.184, allocations: 7.984 kB / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.184, allocations: 0 / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.479e-05/0.1841, allocations: 83.56 kB / 0.5629 GB, free: 5.914 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1841, allocations: 4 kB / 0.5629 GB, free: 5.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1843, allocations: 16 kB / 0.5629 GB, free: 5.895 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001117/0.1844, allocations: 102 kB / 0.563 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1846, allocations: 59.84 kB / 0.5631 GB, free: 5.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1846, allocations: 0 / 0.5631 GB, free: 5.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.1846, allocations: 23.98 kB / 0.5631 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1849, allocations: 15.95 kB / 0.5631 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.1853, allocations: 206.3 kB / 0.5633 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.1856, allocations: 0.6887 MB / 0.564 GB, free: 4.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1856, allocations: 15.44 kB / 0.564 GB, free: 4.727 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1856, allocations: 0 / 0.564 GB, free: 4.727 MB / 430.1 MB Notification: Performance of Templates: time 0.002114/0.1878, allocations: 0.8464 MB / 0.5648 GB, free: 3.879 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimerCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimerCalcHelperMain.o] Error 1