Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007996/0.0007998, allocations: 102.6 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.0009024/0.0009024, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.502/1.502, allocations: 223.3 MB / 240.6 MB, free: 5.406 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.589/2.589, allocations: 390.4 MB / 0.6662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 12 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8491, allocations: 142.3 MB / 0.9544 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006177/0.8554, allocations: 5.393 MB / 0.9597 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.86, allocations: 2.956 MB / 0.9626 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.8605, allocations: 24.59 kB / 0.9626 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.8609, allocations: 119.3 kB / 0.9627 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.8619, allocations: 383.4 kB / 0.9631 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.8629, allocations: 356.4 kB / 0.9634 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.8642, allocations: 1.214 MB / 0.9646 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.866, allocations: 0.9027 MB / 0.9655 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000663/0.8667, allocations: 352.1 kB / 0.9658 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.8674, allocations: 452.2 kB / 0.9662 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.8674, allocations: 30.91 kB / 0.9663 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.8682, allocations: 247.5 kB / 0.9665 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.8685, allocations: 252 kB / 0.9668 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.8687, allocations: 162.3 kB / 0.9669 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.8698, allocations: 0.8758 MB / 0.9678 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.8698, allocations: 0 / 0.9678 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8698, allocations: 3.938 kB / 0.9678 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8699, allocations: 1.312 kB / 0.9678 GB, free: 14.23 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001549/0.8714, allocations: 0.919 MB / 0.9687 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.8715, allocations: 9.062 kB / 0.9687 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.873, allocations: 217 kB / 0.9689 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008861/0.8739, allocations: 0.5151 MB / 0.9694 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.874, allocations: 47.08 kB / 0.9694 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.8741, allocations: 71.89 kB / 0.9695 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.8757, allocations: 1.026 MB / 0.9705 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.8758, allocations: 6.75 kB / 0.9705 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.8759, allocations: 29.33 kB / 0.9705 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.876, allocations: 73.84 kB / 0.9706 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.8772, allocations: 0.6902 MB / 0.9713 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005755/0.8829, allocations: 5.754 MB / 0.9769 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.8839, allocations: 0.5966 MB / 0.9775 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.8848, allocations: 415.9 kB / 0.9779 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.8849, allocations: 4.25 kB / 0.9779 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.8849, allocations: 40.53 kB / 0.9779 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.334e-06/0.8849, allocations: 0 / 0.9779 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004663/0.8896, allocations: 2.06 MB / 0.9799 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.8896, allocations: 55.47 kB / 0.98 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.8902, allocations: 449.4 kB / 0.9804 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.8903, allocations: 31.11 kB / 0.9804 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.8906, allocations: 393.6 kB / 0.9808 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.8907, allocations: 153.1 kB / 0.981 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.8908, allocations: 10.5 kB / 0.981 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.8909, allocations: 364.4 kB / 0.9813 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.8913, allocations: 249.4 kB / 0.9816 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.8919, allocations: 452.9 kB / 0.982 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.8924, allocations: 309.5 kB / 0.9823 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.8925, allocations: 2.406 kB / 0.9823 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0019/0.8944, allocations: 1.061 MB / 0.9833 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8944, allocations: 8 kB / 0.9833 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8944, allocations: 8 kB / 0.9833 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009418/0.8954, allocations: 335.6 kB / 0.9837 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.8957, allocations: 99.81 kB / 0.9838 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006615/0.9023, allocations: 6.934 MB / 0.9905 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.9029, allocations: 32.02 kB / 0.9906 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.9029, allocations: 32 kB / 0.9906 GB, free: 9.555 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00043/0.9034, allocations: 250.2 kB / 0.9908 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.9035, allocations: 55.34 kB / 0.9909 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.9051, allocations: 0.9197 MB / 0.9918 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.9052, allocations: 8 kB / 0.9918 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9052, allocations: 7.953 kB / 0.9918 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9052, allocations: 0 / 0.9918 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.9079, allocations: 1.704 MB / 0.9935 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.9079, allocations: 0 / 0.9935 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.9081, allocations: 43.91 kB / 0.9935 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008477/0.9089, allocations: 327.4 kB / 0.9938 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.909, allocations: 12 kB / 0.9938 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006832/0.9158, allocations: 6.923 MB / 1.001 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.9159, allocations: 4 kB / 1.001 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.9178, allocations: 1.015 MB / 1.002 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.9182, allocations: 168.4 kB / 1.002 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.9182, allocations: 15.98 kB / 1.002 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.9185, allocations: 19.98 kB / 1.002 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9186, allocations: 47.88 kB / 1.002 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.9187, allocations: 8 kB / 1.002 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003803/0.919, allocations: 302.9 kB / 1.002 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.919, allocations: 0 / 1.002 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009914/0.92, allocations: 192 kB / 1.002 GB, free: 12.83 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/0.9202, allocations: 119.1 kB / 1.002 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.922, allocations: 1.187 MB / 1.004 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9221, allocations: 8.125 kB / 1.004 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.9232, allocations: 0.8619 MB / 1.004 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.9241, allocations: 184.2 kB / 1.005 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.9265, allocations: 1.534 MB / 1.006 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.9272, allocations: 0.9881 MB / 1.007 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.9273, allocations: 43.38 kB / 1.007 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of SimCode: time 8.62e-07/0.9273, allocations: 4 kB / 1.007 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of Templates: time 0.02416/0.9515, allocations: 18.39 MB / 1.025 GB, free: 5.344 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_LCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1