Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009444, allocations: 92.62 kB / 16.02 MB, free: 80 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.0009117/0.0009117, allocations: 183.1 kB / 16.92 MB, free: 6.926 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.302/1.302, allocations: 223.2 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 278.1 kB / 292.3 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9296/0.9296, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004404, allocations: 20.39 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1619, allocations: 88.55 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002855/0.1647, allocations: 1.997 MB / 0.6877 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1661, allocations: 0.7591 MB / 0.6885 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1663, allocations: 0 / 0.6885 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.1664, allocations: 19.86 kB / 0.6885 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1667, allocations: 58.27 kB / 0.6885 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.1669, allocations: 55.88 kB / 0.6886 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1672, allocations: 191.4 kB / 0.6888 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.1675, allocations: 201.2 kB / 0.689 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1676, allocations: 51.78 kB / 0.689 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1678, allocations: 72.19 kB / 0.6891 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1679, allocations: 4 kB / 0.6891 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.168, allocations: 56.86 kB / 0.6891 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.1681, allocations: 35.84 kB / 0.6892 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1682, allocations: 83.06 kB / 0.6893 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1684, allocations: 131.7 kB / 0.6894 GB, free: 11.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1684, allocations: 0 / 0.6894 GB, free: 11.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1684, allocations: 0 / 0.6894 GB, free: 11.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1684, allocations: 0 / 0.6894 GB, free: 11.38 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006498/0.1691, allocations: 475 kB / 0.6898 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1691, allocations: 8.031 kB / 0.6898 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.1694, allocations: 32.73 kB / 0.6899 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1696, allocations: 204.1 kB / 0.6901 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.1697, allocations: 38.45 kB / 0.6901 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1697, allocations: 16.12 kB / 0.6901 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.17, allocations: 148.8 kB / 0.6903 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.17, allocations: 4.562 kB / 0.6903 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.1701, allocations: 4.562 kB / 0.6903 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.1701, allocations: 4 kB / 0.6903 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.1703, allocations: 99.19 kB / 0.6904 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000979/0.1713, allocations: 0.6392 MB / 0.691 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.1716, allocations: 65.05 kB / 0.6911 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.1717, allocations: 32.91 kB / 0.6911 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1717, allocations: 2.625 kB / 0.6911 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.1719, allocations: 150.7 kB / 0.6912 GB, free: 9.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1719, allocations: 0 / 0.6912 GB, free: 9.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003918/0.1723, allocations: 165 kB / 0.6914 GB, free: 9.105 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.1724, allocations: 140.4 kB / 0.6915 GB, free: 8.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1726, allocations: 182.9 kB / 0.6917 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1726, allocations: 26.83 kB / 0.6917 GB, free: 8.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1727, allocations: 139.7 kB / 0.6919 GB, free: 8.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.1727, allocations: 20.67 kB / 0.6919 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.1728, allocations: 25.72 kB / 0.6919 GB, free: 8.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1729, allocations: 322.8 kB / 0.6922 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.173, allocations: 47.92 kB / 0.6923 GB, free: 8.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1731, allocations: 111.1 kB / 0.6924 GB, free: 8.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1734, allocations: 238.3 kB / 0.6926 GB, free: 7.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1734, allocations: 0 / 0.6926 GB, free: 7.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003682/0.1738, allocations: 244.6 kB / 0.6928 GB, free: 7.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.1738, allocations: 67.39 kB / 0.6929 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1739, allocations: 7.938 kB / 0.6929 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1739, allocations: 4 kB / 0.6929 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.174, allocations: 27.98 kB / 0.6929 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.174, allocations: 11.88 kB / 0.6929 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1742, allocations: 28.14 kB / 0.693 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1742, allocations: 12 kB / 0.693 GB, free: 7.301 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.1743, allocations: 163.6 kB / 0.6931 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1744, allocations: 11.81 kB / 0.6931 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.1744, allocations: 21.28 kB / 0.6932 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1744, allocations: 7.984 kB / 0.6932 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1744, allocations: 0 / 0.6932 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1744, allocations: 0 / 0.6932 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1746, allocations: 213.6 kB / 0.6934 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1746, allocations: 0 / 0.6934 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/0.1747, allocations: 11.98 kB / 0.6934 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1747, allocations: 0 / 0.6934 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1747, allocations: 7.938 kB / 0.6934 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1747, allocations: 3.938 kB / 0.6934 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1747, allocations: 0 / 0.6934 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.1751, allocations: 218.7 kB / 0.6936 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.1752, allocations: 92.94 kB / 0.6937 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1752, allocations: 7.938 kB / 0.6937 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.1753, allocations: 12 kB / 0.6937 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.1754, allocations: 11.98 kB / 0.6937 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1754, allocations: 3.938 kB / 0.6937 GB, free: 6.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1755, allocations: 140.3 kB / 0.6939 GB, free: 6.289 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1755, allocations: 4 kB / 0.6939 GB, free: 6.285 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1757, allocations: 31.94 kB / 0.6939 GB, free: 6.254 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.311e-05/0.1758, allocations: 99.25 kB / 0.694 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.1762, allocations: 223.5 kB / 0.6942 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1762, allocations: 4.062 kB / 0.6942 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1763, allocations: 107.5 kB / 0.6943 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.1766, allocations: 20.06 kB / 0.6943 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.1772, allocations: 379.8 kB / 0.6947 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1775, allocations: 0.7121 MB / 0.6954 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.1776, allocations: 19.44 kB / 0.6954 GB, free: 4.605 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1776, allocations: 0 / 0.6954 GB, free: 4.605 MB / 494.1 MB Notification: Performance of Templates: time 0.003332/0.1809, allocations: 1.674 MB / 0.697 GB, free: 2.941 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o] Error 1