Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_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.0008448/0.0008447, allocations: 99.05 kB / 15.71 MB, free: 452 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.001083/0.001083, allocations: 178 kB / 16.58 MB, free: 6.422 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.46/1.46, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.744/2.744, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 8 kB / 0.8717 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8117/0.8121, allocations: 153.7 MB / 1.022 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002886/0.8151, allocations: 1.963 MB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.8163, allocations: 0.7252 MB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.8164, allocations: 4 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.8166, allocations: 15.86 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.8168, allocations: 39.75 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.817, allocations: 47.89 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.8172, allocations: 159.4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.8175, allocations: 193.8 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.8176, allocations: 51.78 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.8178, allocations: 63.75 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.8178, allocations: 4 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.8179, allocations: 31.92 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.818, allocations: 27.91 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.8181, allocations: 49.64 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.8183, allocations: 121.7 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.8183, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.378e-06/0.8183, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.8183, allocations: 3.938 kB / 1.025 GB, free: 13.57 MB / 0.7794 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.0008176/0.8191, allocations: 474.4 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.8192, allocations: 11.98 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.8194, allocations: 31.73 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.8197, allocations: 210.8 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.8198, allocations: 33.89 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.8198, allocations: 12 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.8201, allocations: 148.9 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.8202, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.8202, allocations: 7.984 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.8202, allocations: 8.125 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.8205, allocations: 92.52 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.8213, allocations: 0.6411 MB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.8216, allocations: 66.55 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.8217, allocations: 28.84 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.8217, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.8219, allocations: 146.8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8219, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.8223, allocations: 167.1 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.8224, allocations: 136.5 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.8226, allocations: 174.4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.8226, allocations: 33.7 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.8227, allocations: 139.7 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.8228, allocations: 23.73 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/0.8228, allocations: 4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8229, allocations: 330.8 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.823, allocations: 43.97 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.8232, allocations: 111.5 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.8233, allocations: 107.3 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8233, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003452/0.8237, allocations: 252.7 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.8238, allocations: 63.41 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.8238, allocations: 7.984 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8238, allocations: 4 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.8239, allocations: 35.86 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8239, allocations: 4 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.8241, allocations: 19.84 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.8241, allocations: 24.09 kB / 1.029 GB, free: 9.668 MB / 0.7794 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.0001542/0.8243, allocations: 167.5 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.8243, allocations: 11.91 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.8243, allocations: 13.41 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8243, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8243, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8244, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.8246, allocations: 221.5 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8246, allocations: 0 / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.8247, allocations: 19.98 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8247, allocations: 0 / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.8247, allocations: 0 / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8247, allocations: 0 / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8247, allocations: 4 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.8251, allocations: 226.6 kB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.8252, allocations: 92.89 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.8252, allocations: 0 / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.8253, allocations: 15.98 kB / 1.029 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.8254, allocations: 11.98 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.8254, allocations: 0 / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001258/0.8255, allocations: 136.3 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8255, allocations: 0 / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002435/0.8258, allocations: 36.06 kB / 1.029 GB, free: 8.625 MB / 0.7794 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.0001325/0.8259, allocations: 99.25 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.8263, allocations: 214.6 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8263, allocations: 0.625 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.8264, allocations: 111.4 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.8267, allocations: 19.95 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.8274, allocations: 378.6 kB / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.8278, allocations: 0.7119 MB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.8278, allocations: 15.44 kB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8278, allocations: 0 / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of Templates: time 0.003671/0.8315, allocations: 1.672 MB / 1.033 GB, free: 5.324 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o] Error 1