Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001087/0.001087, allocations: 96.59 kB / 16.33 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 181.8 kB / 17.22 MB, free: 6.285 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.544/1.544, allocations: 223.3 MB / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7074/0.7074, allocations: 114.4 MB / 406.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 8.719 kB / 494.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.191, allocations: 77.26 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002973/0.1941, allocations: 1.941 MB / 0.5602 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1953, allocations: 0.7174 MB / 0.5609 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.1954, allocations: 4 kB / 0.5609 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1955, allocations: 19.84 kB / 0.5609 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.1958, allocations: 51.75 kB / 0.561 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1959, allocations: 43.88 kB / 0.561 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1962, allocations: 167.4 kB / 0.5612 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.1964, allocations: 181.7 kB / 0.5613 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1966, allocations: 59.77 kB / 0.5614 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1967, allocations: 63.69 kB / 0.5615 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1968, allocations: 8 kB / 0.5615 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.1969, allocations: 23.98 kB / 0.5615 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1969, allocations: 31.89 kB / 0.5615 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.197, allocations: 49.64 kB / 0.5616 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1972, allocations: 127.9 kB / 0.5617 GB, free: 7.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1972, allocations: 0 / 0.5617 GB, free: 7.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1972, allocations: 0 / 0.5617 GB, free: 7.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1972, allocations: 0 / 0.5617 GB, free: 7.438 MB / 430.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.000666/0.1979, allocations: 472.5 kB / 0.5621 GB, free: 6.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1979, allocations: 19.95 kB / 0.5622 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.1981, allocations: 19.81 kB / 0.5622 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1984, allocations: 214.7 kB / 0.5624 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.1984, allocations: 37.89 kB / 0.5624 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.1985, allocations: 15.95 kB / 0.5624 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1988, allocations: 148.9 kB / 0.5626 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1988, allocations: 0 / 0.5626 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1988, allocations: 8 kB / 0.5626 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.1988, allocations: 4.188 kB / 0.5626 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.1991, allocations: 95.25 kB / 0.5627 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009954/0.2001, allocations: 0.649 MB / 0.5633 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.2003, allocations: 62.5 kB / 0.5634 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.2004, allocations: 32.91 kB / 0.5634 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2005, allocations: 0 / 0.5634 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.2007, allocations: 145.4 kB / 0.5635 GB, free: 5.328 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 3.136e-06/0.2008, allocations: 8 kB / 0.5635 GB, free: 5.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004527/0.2012, allocations: 167.1 kB / 0.5637 GB, free: 5.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.2013, allocations: 136.5 kB / 0.5638 GB, free: 4.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2016, allocations: 178.3 kB / 0.564 GB, free: 4.797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.2016, allocations: 25.7 kB / 0.564 GB, free: 4.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2017, allocations: 143.8 kB / 0.5642 GB, free: 4.617 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.2018, allocations: 19.81 kB / 0.5642 GB, free: 4.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.2018, allocations: 0 / 0.5642 GB, free: 4.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2019, allocations: 326.8 kB / 0.5645 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.202, allocations: 39.88 kB / 0.5645 GB, free: 4.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2022, allocations: 117.3 kB / 0.5647 GB, free: 4.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2023, allocations: 107.4 kB / 0.5648 GB, free: 3.965 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2023, allocations: 0 / 0.5648 GB, free: 3.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003461/0.2027, allocations: 240.7 kB / 0.565 GB, free: 3.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.2028, allocations: 63.7 kB / 0.565 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2028, allocations: 8 kB / 0.5651 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2028, allocations: 7.938 kB / 0.5651 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.2029, allocations: 35.92 kB / 0.5651 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2029, allocations: 4 kB / 0.5651 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2031, allocations: 27.83 kB / 0.5651 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2031, allocations: 8 kB / 0.5651 GB, free: 3.547 MB / 430.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 ($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.0001682/0.2033, allocations: 178.6 kB / 0.5653 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2033, allocations: 15.81 kB / 0.5653 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.2034, allocations: 13.41 kB / 0.5653 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2034, allocations: 0 / 0.5653 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2034, allocations: 0 / 0.5653 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.2034, allocations: 7.984 kB / 0.5653 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.2036, allocations: 213.5 kB / 0.5655 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2036, allocations: 0 / 0.5655 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.2037, allocations: 11.98 kB / 0.5656 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2037, allocations: 0 / 0.5656 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.2037, allocations: 8 kB / 0.5656 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2037, allocations: 0 / 0.5656 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2037, allocations: 0 / 0.5656 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.2041, allocations: 226.5 kB / 0.5658 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.2042, allocations: 92.95 kB / 0.5659 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.2043, allocations: 8.094 kB / 0.5659 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.2043, allocations: 8 kB / 0.5659 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.2044, allocations: 11.98 kB / 0.5659 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.2044, allocations: 4 kB / 0.5659 GB, free: 2.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.2046, allocations: 136.3 kB / 0.566 GB, free: 2.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2046, allocations: 0 / 0.566 GB, free: 2.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.2048, allocations: 31.91 kB / 0.5661 GB, free: 2.492 MB / 430.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 (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.0001194/0.205, allocations: 106.6 kB / 0.5662 GB, free: 2.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.2053, allocations: 218.6 kB / 0.5664 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2053, allocations: 0 / 0.5664 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2055, allocations: 111.3 kB / 0.5665 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2057, allocations: 20.61 kB / 0.5665 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.2064, allocations: 359.7 kB / 0.5668 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2067, allocations: 0.7123 MB / 0.5675 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.2068, allocations: 11.44 kB / 0.5675 GB, free: 0.875 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2068, allocations: 0 / 0.5675 GB, free: 0.875 MB / 430.1 MB Notification: Performance of Templates: time 0.003554/0.2103, allocations: 1.684 MB / 0.5692 GB, free: 15.2 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRLCalcHelperMain.o] Error 1