Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.AC.OnePhase.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009531, allocations: 96.38 kB / 15.7 MB, free: 456 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.001533/0.001532, allocations: 175.5 kB / 16.58 MB, free: 6.41 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.474/1.474, allocations: 223.2 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.727/2.727, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003796, allocations: 12 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7441, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01051/0.7546, allocations: 9.794 MB / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.7663, allocations: 8.181 MB / 1.039 GB, free: 15.06 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.7676, allocations: 51.62 kB / 1.039 GB, free: 15.01 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.7684, allocations: 269.8 kB / 1.04 GB, free: 14.74 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.772, allocations: 1.264 MB / 1.041 GB, free: 13.48 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.7734, allocations: 466.9 kB / 1.041 GB, free: 13.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002928/0.7764, allocations: 2.438 MB / 1.044 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003202/0.7796, allocations: 1.787 MB / 1.045 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.7811, allocations: 0.7897 MB / 1.046 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.7824, allocations: 0.9026 MB / 1.047 GB, free: 7.047 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.7826, allocations: 60 kB / 1.047 GB, free: 6.988 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.7837, allocations: 455.4 kB / 1.048 GB, free: 6.543 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.7842, allocations: 482.4 kB / 1.048 GB, free: 6.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.7847, allocations: 344.8 kB / 1.048 GB, free: 5.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.7867, allocations: 1.952 MB / 1.05 GB, free: 3.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7867, allocations: 4 kB / 1.05 GB, free: 3.766 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.446e-06/0.7867, allocations: 0 / 1.05 GB, free: 3.766 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.702e-05/0.7868, allocations: 3.938 kB / 1.05 GB, free: 3.762 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003117/0.7899, allocations: 1.726 MB / 1.052 GB, free: 1.98 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.79, allocations: 12.03 kB / 1.052 GB, free: 1.969 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009876/0.7998, allocations: 2.112 MB / 1.054 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.8022, allocations: 1.079 MB / 1.055 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/0.8023, allocations: 90.3 kB / 1.055 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.8025, allocations: 119.9 kB / 1.055 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005165/0.8077, allocations: 2.486 MB / 1.058 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.8078, allocations: 7.938 kB / 1.058 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.8079, allocations: 59.97 kB / 1.058 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003243/0.8083, allocations: 130.1 kB / 1.058 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006804/0.8151, allocations: 2.576 MB / 1.06 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.8292, allocations: 10.12 MB / 1.07 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005311/0.8346, allocations: 1.999 MB / 1.072 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.8372, allocations: 0.9894 MB / 1.073 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.8373, allocations: 8.422 kB / 1.073 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.8373, allocations: 47 kB / 1.073 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 3.486e-06/0.8374, allocations: 0 / 1.073 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.02959/0.867, allocations: 8.773 MB / 1.082 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.867, allocations: 60.06 kB / 1.082 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.869, allocations: 1.085 MB / 1.083 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.8692, allocations: 41.7 kB / 1.083 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008501/0.8701, allocations: 0.7418 MB / 1.084 GB, free: 436 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.8706, allocations: 272 kB / 1.084 GB, free: 160 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.8707, allocations: 20 kB / 1.084 GB, free: 140 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000278/0.871, allocations: 341.9 kB / 1.084 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/0.8739, allocations: 1.087 MB / 1.085 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.8766, allocations: 1.329 MB / 1.087 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.8794, allocations: 1.143 MB / 1.088 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8794, allocations: 0 / 1.088 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008032/0.8874, allocations: 3.308 MB / 1.091 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.8875, allocations: 11.94 kB / 1.091 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.8875, allocations: 8 kB / 1.091 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/0.8901, allocations: 0.7873 MB / 1.092 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.8918, allocations: 435.2 kB / 1.092 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.9073, allocations: 14.67 MB / 1.107 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.9096, allocations: 303.6 kB / 1.107 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.9097, allocations: 55.92 kB / 1.107 GB, free: 7.445 MB / 0.8575 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008692/0.9106, allocations: 401.4 kB / 1.107 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.9109, allocations: 138.3 kB / 1.107 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007866/0.9188, allocations: 3.245 MB / 1.111 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.9188, allocations: 8 kB / 1.111 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.9188, allocations: 4 kB / 1.111 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.9189, allocations: 7.984 kB / 1.111 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.9299, allocations: 4.94 MB / 1.115 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.93, allocations: 4 kB / 1.115 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.9315, allocations: 371.7 kB / 1.116 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002261/0.9337, allocations: 0.6857 MB / 1.116 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.9339, allocations: 35.95 kB / 1.116 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/0.9491, allocations: 14.32 MB / 1.13 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.9492, allocations: 12.05 kB / 1.13 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007687/0.9569, allocations: 3.066 MB / 1.133 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000996/0.9579, allocations: 387.1 kB / 1.134 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/0.9583, allocations: 23.98 kB / 1.134 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.9602, allocations: 295.5 kB / 1.134 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/0.9605, allocations: 88.44 kB / 1.134 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.9606, allocations: 39.97 kB / 1.134 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001098/0.9617, allocations: 0.7249 MB / 1.135 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9617, allocations: 0 / 1.135 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001756/0.9635, allocations: 432 kB / 1.135 GB, free: 8.898 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002749/0.9637, allocations: 135.2 kB / 1.135 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007514/0.9713, allocations: 3.648 MB / 1.139 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9713, allocations: 0 / 1.139 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004464/0.9758, allocations: 2.387 MB / 1.141 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.9783, allocations: 494.9 kB / 1.142 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007489/0.9858, allocations: 4.038 MB / 1.146 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.9869, allocations: 1.392 MB / 1.147 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005928/0.9875, allocations: 123.3 kB / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of SimCode: time 9.91e-07/0.9875, allocations: 0 / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of Templates: time 0.0846/1.072, allocations: 74.84 MB / 1.22 GB, free: 1.609 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.o] Error 1