Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009017/0.0009018, allocations: 92.55 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.001465/0.001465, allocations: 174.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 223.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.074/2.074, allocations: 292.7 MB / 0.5509 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000647/0.0006468, allocations: 18.97 kB / 0.675 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3222, allocations: 116.3 MB / 0.7885 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002903/0.3251, allocations: 2.01 MB / 0.7905 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3266, allocations: 0.8191 MB / 0.7913 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.3267, allocations: 0 / 0.7913 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.3268, allocations: 19.86 kB / 0.7913 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.3271, allocations: 59.67 kB / 0.7914 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.3273, allocations: 47.95 kB / 0.7914 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.3276, allocations: 195.3 kB / 0.7916 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.3279, allocations: 193.6 kB / 0.7918 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.328, allocations: 51.83 kB / 0.7918 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3282, allocations: 71.62 kB / 0.7919 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3282, allocations: 4 kB / 0.7919 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3284, allocations: 59.88 kB / 0.792 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.3284, allocations: 35.89 kB / 0.792 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.3287, allocations: 85.38 kB / 0.7921 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.3289, allocations: 127.9 kB / 0.7922 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3289, allocations: 0 / 0.7922 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3289, allocations: 0 / 0.7922 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3289, allocations: 0 / 0.7922 GB, free: 7.816 MB / 0.6075 GB 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.0009478/0.3298, allocations: 466.7 kB / 0.7926 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3299, allocations: 8.031 kB / 0.7926 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.3302, allocations: 28.73 kB / 0.7927 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.3304, allocations: 216 kB / 0.7929 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.3305, allocations: 42.45 kB / 0.7929 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.3305, allocations: 16.12 kB / 0.7929 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.3308, allocations: 154.5 kB / 0.7931 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3309, allocations: 0 / 0.7931 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3309, allocations: 4 kB / 0.7931 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.3309, allocations: 4 kB / 0.7931 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.3311, allocations: 95.89 kB / 0.7932 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/0.332, allocations: 0.6441 MB / 0.7938 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3323, allocations: 58.55 kB / 0.7939 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.3324, allocations: 32.91 kB / 0.7939 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3324, allocations: 0 / 0.7939 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.3326, allocations: 150.7 kB / 0.794 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3326, allocations: 0 / 0.794 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004909/0.3331, allocations: 163.3 kB / 0.7942 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3332, allocations: 136.5 kB / 0.7943 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3334, allocations: 186.3 kB / 0.7945 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3335, allocations: 29.7 kB / 0.7945 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3336, allocations: 139.8 kB / 0.7947 GB, free: 5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.3336, allocations: 19.8 kB / 0.7947 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.3337, allocations: 21.66 kB / 0.7947 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3338, allocations: 326.8 kB / 0.795 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.3339, allocations: 39.98 kB / 0.7951 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.334, allocations: 117.3 kB / 0.7952 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3343, allocations: 234.4 kB / 0.7954 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3343, allocations: 0 / 0.7954 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003529/0.3347, allocations: 241 kB / 0.7956 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.3348, allocations: 67.41 kB / 0.7957 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3348, allocations: 7.938 kB / 0.7957 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3348, allocations: 4 kB / 0.7957 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3349, allocations: 31.92 kB / 0.7957 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3349, allocations: 4 kB / 0.7957 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3351, allocations: 31.83 kB / 0.7958 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3351, allocations: 11.94 kB / 0.7958 GB, free: 3.734 MB / 0.6075 GB 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.0001666/0.3353, allocations: 174.5 kB / 0.7959 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.3353, allocations: 11.86 kB / 0.796 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.3354, allocations: 25.31 kB / 0.796 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3354, allocations: 4 kB / 0.796 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3354, allocations: 0 / 0.796 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3354, allocations: 0 / 0.796 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3356, allocations: 213.6 kB / 0.7962 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3356, allocations: 0 / 0.7962 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.3357, allocations: 8 kB / 0.7962 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3357, allocations: 4 kB / 0.7962 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3357, allocations: 7.938 kB / 0.7962 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3357, allocations: 0 / 0.7962 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3357, allocations: 0 / 0.7962 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.3361, allocations: 230.5 kB / 0.7964 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.3362, allocations: 89.09 kB / 0.7965 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.3362, allocations: 7.938 kB / 0.7965 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.3363, allocations: 15.98 kB / 0.7965 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.3364, allocations: 8 kB / 0.7965 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3364, allocations: 0 / 0.7965 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001343/0.3365, allocations: 141.1 kB / 0.7967 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3366, allocations: 0 / 0.7967 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002362/0.3368, allocations: 32 kB / 0.7967 GB, free: 2.676 MB / 0.6075 GB 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 0.0001532/0.337, allocations: 103.2 kB / 0.7968 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.3373, allocations: 218.6 kB / 0.797 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3373, allocations: 0 / 0.797 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3375, allocations: 108 kB / 0.7971 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3377, allocations: 23.89 kB / 0.7971 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.3384, allocations: 383.5 kB / 0.7975 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3387, allocations: 0.7082 MB / 0.7982 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.3388, allocations: 15.44 kB / 0.7982 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.3388, allocations: 0 / 0.7982 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.0037/0.3425, allocations: 1.676 MB / 0.7998 GB, free: 15.37 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o] Error 1