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.0009901/0.0009902, allocations: 102.4 kB / 15.71 MB, free: 440 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.001292/0.001292, allocations: 178.9 kB / 16.58 MB, free: 6.09 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.804/1.804, allocations: 205.4 MB / 222.8 MB, free: 5.609 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 1.858/1.858, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0005677/0.0005679, allocations: 19.52 kB / 0.6743 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3025, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002901/0.3055, allocations: 1.948 MB / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3068, allocations: 0.7766 MB / 0.7906 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.3069, allocations: 3.938 kB / 0.7906 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.307, allocations: 19.86 kB / 0.7906 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.3072, allocations: 51.73 kB / 0.7906 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.3074, allocations: 31.91 kB / 0.7907 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.3076, allocations: 163.4 kB / 0.7908 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.3079, allocations: 189.8 kB / 0.791 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.308, allocations: 63.77 kB / 0.7911 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.3082, allocations: 55.77 kB / 0.7911 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3082, allocations: 7.984 kB / 0.7911 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.3083, allocations: 23.98 kB / 0.7912 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.3084, allocations: 35.84 kB / 0.7912 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.3084, allocations: 41.64 kB / 0.7912 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3086, allocations: 127.9 kB / 0.7914 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3086, allocations: 0 / 0.7914 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3087, allocations: 4 kB / 0.7914 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3087, allocations: 3.938 kB / 0.7914 GB, free: 8.359 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.0008637/0.3095, allocations: 466.5 kB / 0.7918 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3096, allocations: 8.031 kB / 0.7918 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.3098, allocations: 35.75 kB / 0.7918 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3101, allocations: 214.8 kB / 0.7921 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.3102, allocations: 37.83 kB / 0.7921 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.3103, allocations: 19.98 kB / 0.7921 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.3106, allocations: 141 kB / 0.7922 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3106, allocations: 4 kB / 0.7922 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3106, allocations: 7.938 kB / 0.7923 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.3107, allocations: 4.188 kB / 0.7923 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.3109, allocations: 92.45 kB / 0.7923 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.3118, allocations: 0.6412 MB / 0.793 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.3121, allocations: 58.55 kB / 0.793 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.3122, allocations: 32.86 kB / 0.7931 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3122, allocations: 0 / 0.7931 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.3124, allocations: 150.8 kB / 0.7932 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.3125, allocations: 0 / 0.7932 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003961/0.3129, allocations: 159.2 kB / 0.7934 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.313, allocations: 132.5 kB / 0.7935 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3132, allocations: 182.7 kB / 0.7937 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.3132, allocations: 37.64 kB / 0.7937 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3133, allocations: 143.8 kB / 0.7938 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.3133, allocations: 23.7 kB / 0.7939 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/0.3134, allocations: 4 kB / 0.7939 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3135, allocations: 322.8 kB / 0.7942 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.3136, allocations: 35.98 kB / 0.7942 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.3138, allocations: 109.4 kB / 0.7943 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.314, allocations: 115.3 kB / 0.7944 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.314, allocations: 0 / 0.7944 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003655/0.3143, allocations: 244.9 kB / 0.7946 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.3144, allocations: 67.3 kB / 0.7947 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3144, allocations: 4 kB / 0.7947 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3144, allocations: 4 kB / 0.7947 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3146, allocations: 27.98 kB / 0.7947 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3146, allocations: 3.938 kB / 0.7947 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3147, allocations: 35.73 kB / 0.7948 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3148, allocations: 8.094 kB / 0.7948 GB, free: 4.477 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 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.3149, allocations: 170.5 kB / 0.795 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.315, allocations: 19.84 kB / 0.795 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.315, allocations: 17.34 kB / 0.795 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.315, allocations: 0 / 0.795 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.315, allocations: 4 kB / 0.795 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.315, allocations: 0 / 0.795 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.3153, allocations: 213.6 kB / 0.7952 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3153, allocations: 0 / 0.7952 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.3154, allocations: 12 kB / 0.7952 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3154, allocations: 0 / 0.7952 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3154, allocations: 7.984 kB / 0.7952 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3154, allocations: 3.953 kB / 0.7952 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3154, allocations: 0 / 0.7952 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.3158, allocations: 226.6 kB / 0.7954 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3159, allocations: 81.02 kB / 0.7955 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3159, allocations: 8.031 kB / 0.7955 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.316, allocations: 19.98 kB / 0.7955 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.3161, allocations: 11.97 kB / 0.7955 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3161, allocations: 7.984 kB / 0.7956 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001229/0.3162, allocations: 133.1 kB / 0.7957 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3163, allocations: 0 / 0.7957 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002467/0.3165, allocations: 39.97 kB / 0.7957 GB, free: 3.414 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 (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.000127/0.3166, allocations: 101.9 kB / 0.7958 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.317, allocations: 223 kB / 0.796 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.317, allocations: 0 / 0.796 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.3172, allocations: 108 kB / 0.7961 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.3174, allocations: 19.97 kB / 0.7962 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.3181, allocations: 363.6 kB / 0.7965 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.3185, allocations: 0.7197 MB / 0.7972 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3185, allocations: 15.44 kB / 0.7972 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3186, allocations: 0 / 0.7972 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.003863/0.3224, allocations: 1.67 MB / 0.7988 GB, free: 124 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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 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