Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007974/0.0007973, allocations: 100.5 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.0008877/0.0008878, allocations: 174.9 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.44/1.44, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.537/2.537, allocations: 390.5 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 15.94 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.876, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004614/0.8807, allocations: 4.258 MB / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003721/0.8844, allocations: 2.297 MB / 0.9608 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.8849, allocations: 20.38 kB / 0.9608 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.8852, allocations: 94.03 kB / 0.9609 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008751/0.8861, allocations: 348.7 kB / 0.9613 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.8868, allocations: 277.8 kB / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009576/0.8877, allocations: 0.9597 MB / 0.9625 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.8885, allocations: 432.7 kB / 0.9629 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.8889, allocations: 289.8 kB / 0.9632 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.8893, allocations: 324.8 kB / 0.9635 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.8894, allocations: 19.75 kB / 0.9635 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.89, allocations: 199.6 kB / 0.9637 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.8901, allocations: 156.5 kB / 0.9638 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.8903, allocations: 139.7 kB / 0.964 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006143/0.8909, allocations: 0.6367 MB / 0.9646 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8909, allocations: 5 kB / 0.9646 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8909, allocations: 0 / 0.9646 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.8909, allocations: 0 / 0.9646 GB, free: 0.5312 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001198/0.8921, allocations: 0.8437 MB / 0.9654 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.8922, allocations: 8.344 kB / 0.9654 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.8934, allocations: 201.2 kB / 0.9656 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.8942, allocations: 476.4 kB / 0.9661 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.8943, allocations: 30.41 kB / 0.9661 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.8944, allocations: 53.23 kB / 0.9661 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.8956, allocations: 0.8432 MB / 0.967 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.8957, allocations: 8 kB / 0.967 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.8957, allocations: 24.02 kB / 0.967 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.8959, allocations: 70.38 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.8969, allocations: 0.5634 MB / 0.9676 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/0.902, allocations: 5.64 MB / 0.9731 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.9027, allocations: 465.1 kB / 0.9736 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.9031, allocations: 226.7 kB / 0.9738 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.9031, allocations: 3.188 kB / 0.9738 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.9032, allocations: 36.81 kB / 0.9738 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/0.9032, allocations: 0 / 0.9738 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002805/0.906, allocations: 1.506 MB / 0.9753 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.906, allocations: 54.91 kB / 0.9753 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.9066, allocations: 490.6 kB / 0.9758 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.9067, allocations: 30.89 kB / 0.9758 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.9069, allocations: 359.5 kB / 0.9762 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.9071, allocations: 119 kB / 0.9763 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.9071, allocations: 13.5 kB / 0.9763 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.9073, allocations: 359.5 kB / 0.9766 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.9076, allocations: 196.3 kB / 0.9768 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.9082, allocations: 442 kB / 0.9773 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.9086, allocations: 272.1 kB / 0.9775 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9086, allocations: 3.062 kB / 0.9775 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0014/0.91, allocations: 0.8019 MB / 0.9783 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.9101, allocations: 9.625 kB / 0.9783 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.9101, allocations: 7.625 kB / 0.9783 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.9106, allocations: 160.2 kB / 0.9785 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.9111, allocations: 121.3 kB / 0.9786 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.9145, allocations: 4.035 MB / 0.9825 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.915, allocations: 32.62 kB / 0.9826 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.915, allocations: 27.25 kB / 0.9826 GB, free: 0.7734 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.9153, allocations: 217.7 kB / 0.9828 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.9154, allocations: 65.2 kB / 0.9829 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.9165, allocations: 0.5959 MB / 0.9834 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.9165, allocations: 3.969 kB / 0.9834 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9165, allocations: 1.469 kB / 0.9834 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9165, allocations: 0 / 0.9834 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.9187, allocations: 1.253 MB / 0.9847 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9187, allocations: 5.344 kB / 0.9847 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.9189, allocations: 54.2 kB / 0.9847 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.9193, allocations: 144.1 kB / 0.9849 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.9194, allocations: 12 kB / 0.9849 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003365/0.9228, allocations: 4.026 MB / 0.9888 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.9228, allocations: 0 / 0.9888 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.9238, allocations: 0.712 MB / 0.9895 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.9241, allocations: 172.3 kB / 0.9897 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.9242, allocations: 12 kB / 0.9897 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.9244, allocations: 19.97 kB / 0.9897 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.9245, allocations: 35.89 kB / 0.9897 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.9245, allocations: 12 kB / 0.9897 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003703/0.9249, allocations: 326.8 kB / 0.9901 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9249, allocations: 0 / 0.9901 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007598/0.9256, allocations: 144 kB / 0.9902 GB, free: 9.488 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.9258, allocations: 111.2 kB / 0.9903 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.9273, allocations: 1.016 MB / 0.9913 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.9273, allocations: 4.875 kB / 0.9913 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.9281, allocations: 0.7429 MB / 0.992 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.929, allocations: 183.5 kB / 0.9922 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.9308, allocations: 1.279 MB / 0.9934 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.9312, allocations: 0.9058 MB / 0.9943 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.9314, allocations: 43.44 kB / 0.9944 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.9314, allocations: 0 / 0.9944 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of Templates: time 0.02213/0.9535, allocations: 17.93 MB / 1.012 GB, free: 3.059 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o] Error 1