Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009587/0.0009584, allocations: 102.5 kB / 15.71 MB, free: 460 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.001072/0.001072, allocations: 175.5 kB / 16.58 MB, free: 6.078 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.555/1.555, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.59/2.59, allocations: 390.4 MB / 0.6662 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8529/0.8532, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003166/0.8565, allocations: 1.951 MB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.8578, allocations: 0.728 MB / 0.957 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.858, allocations: 1.375 kB / 0.957 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.8582, allocations: 17.88 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.8585, allocations: 49.69 kB / 0.9571 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.8587, allocations: 37.58 kB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.8591, allocations: 158.1 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.8594, allocations: 203.2 kB / 0.9575 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.8595, allocations: 55.67 kB / 0.9575 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.8597, allocations: 63.89 kB / 0.9576 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.8597, allocations: 6.594 kB / 0.9576 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.8598, allocations: 24.36 kB / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.8599, allocations: 36.84 kB / 0.9576 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.86, allocations: 45.45 kB / 0.9577 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.8602, allocations: 130.9 kB / 0.9578 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8602, allocations: 0 / 0.9578 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8602, allocations: 1.531 kB / 0.9578 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8602, allocations: 0 / 0.9578 GB, free: 5.461 MB / 0.7169 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.0006372/0.8608, allocations: 464.4 kB / 0.9583 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.8609, allocations: 8.219 kB / 0.9583 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.8611, allocations: 30.45 kB / 0.9583 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.8613, allocations: 208 kB / 0.9585 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.8614, allocations: 43.22 kB / 0.9585 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.8614, allocations: 12.47 kB / 0.9585 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.8617, allocations: 151.2 kB / 0.9587 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8617, allocations: 2.312 kB / 0.9587 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.8618, allocations: 0 / 0.9587 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.8618, allocations: 5.344 kB / 0.9587 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.862, allocations: 101.4 kB / 0.9588 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007686/0.8628, allocations: 0.642 MB / 0.9594 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.863, allocations: 57.03 kB / 0.9595 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.8631, allocations: 31.16 kB / 0.9595 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.8631, allocations: 7.891 kB / 0.9595 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.8633, allocations: 149.2 kB / 0.9597 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.8633, allocations: 1.188 kB / 0.9597 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000383/0.8637, allocations: 165 kB / 0.9598 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.8638, allocations: 132.2 kB / 0.9599 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.8639, allocations: 185.8 kB / 0.9601 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.864, allocations: 27.14 kB / 0.9601 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.864, allocations: 145.3 kB / 0.9603 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.8641, allocations: 23.81 kB / 0.9603 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.8641, allocations: 5.531 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.8642, allocations: 321.6 kB / 0.9606 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.8643, allocations: 41.44 kB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.8644, allocations: 120.7 kB / 0.9608 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.8645, allocations: 104.8 kB / 0.9609 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8645, allocations: 1.844 kB / 0.9609 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003784/0.8649, allocations: 252.2 kB / 0.9611 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.865, allocations: 63.64 kB / 0.9612 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.865, allocations: 5.375 kB / 0.9612 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.865, allocations: 4.125 kB / 0.9612 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.8652, allocations: 32.67 kB / 0.9612 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.8652, allocations: 2.75 kB / 0.9612 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.8653, allocations: 35.27 kB / 0.9612 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.8654, allocations: 6.875 kB / 0.9613 GB, free: 2.273 MB / 0.7169 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.0001265/0.8655, allocations: 167.1 kB / 0.9614 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.8655, allocations: 20.14 kB / 0.9614 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.8656, allocations: 12.16 kB / 0.9614 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8656, allocations: 1.375 kB / 0.9614 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8656, allocations: 0 / 0.9614 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8656, allocations: 5.359 kB / 0.9615 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.8657, allocations: 210.4 kB / 0.9617 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8657, allocations: 0 / 0.9617 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.8658, allocations: 17.55 kB / 0.9617 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8658, allocations: 3.953 kB / 0.9617 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.8659, allocations: 1.375 kB / 0.9617 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.8659, allocations: 1.375 kB / 0.9617 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8659, allocations: 3.938 kB / 0.9617 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.8662, allocations: 225.9 kB / 0.9619 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.8663, allocations: 90.8 kB / 0.962 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.8663, allocations: 15.03 kB / 0.962 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.8664, allocations: 9.188 kB / 0.962 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.8665, allocations: 11.92 kB / 0.962 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.8665, allocations: 6.5 kB / 0.962 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.469e-05/0.8666, allocations: 131.1 kB / 0.9621 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8666, allocations: 0 / 0.9621 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002588/0.8669, allocations: 30.38 kB / 0.9622 GB, free: 1.441 MB / 0.7169 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.0001009/0.867, allocations: 99.98 kB / 0.9623 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.8673, allocations: 224.8 kB / 0.9625 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8673, allocations: 4.062 kB / 0.9625 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.8675, allocations: 108.5 kB / 0.9626 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.8677, allocations: 20.92 kB / 0.9626 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.8684, allocations: 360.6 kB / 0.963 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.8686, allocations: 0.7222 MB / 0.9637 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.8687, allocations: 13.41 kB / 0.9637 GB, free: 52 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8687, allocations: 0 / 0.9637 GB, free: 52 kB / 0.7169 GB Notification: Performance of Templates: time 0.004214/0.8729, allocations: 1.672 MB / 0.9653 GB, free: 15.2 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o] Error 1