Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009388, allocations: 92.16 kB / 16.02 MB, free: 80 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.00116/0.00116, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 223.1 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.912/1.912, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000847/0.000847, allocations: 16.31 kB / 0.675 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4554, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.01015/0.4657, allocations: 4.012 MB / 0.7925 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00828/0.474, allocations: 3.192 MB / 0.7956 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.4748, allocations: 15.88 kB / 0.7956 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.476, allocations: 183 kB / 0.7958 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.478, allocations: 345.4 kB / 0.7961 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.4792, allocations: 231.5 kB / 0.7963 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.4809, allocations: 0.7984 MB / 0.7971 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.483, allocations: 0.8213 MB / 0.7979 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006991/0.4837, allocations: 235 kB / 0.7981 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005576/0.4843, allocations: 243 kB / 0.7984 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/0.4843, allocations: 16 kB / 0.7984 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008796/0.4852, allocations: 323.5 kB / 0.7987 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.4855, allocations: 135.5 kB / 0.7988 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.4858, allocations: 220.6 kB / 0.799 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.4869, allocations: 0.6079 MB / 0.7996 GB, free: 176 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4869, allocations: 0 / 0.7996 GB, free: 176 kB / 0.6075 GB Notification: Performance of FrontEnd: time 4.228e-06/0.4869, allocations: 4 kB / 0.7996 GB, free: 172 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.4869, allocations: 0 / 0.7996 GB, free: 172 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001841/0.4888, allocations: 0.6935 MB / 0.8003 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.4888, allocations: 8.031 kB / 0.8003 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.493, allocations: 0.6672 MB / 0.801 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.4943, allocations: 439.8 kB / 0.8014 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.4944, allocations: 25.03 kB / 0.8014 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.4945, allocations: 32.12 kB / 0.8014 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.4969, allocations: 0.7864 MB / 0.8022 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.497, allocations: 3.906 kB / 0.8022 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.497, allocations: 12 kB / 0.8022 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/0.4973, allocations: 48.61 kB / 0.8023 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.5004, allocations: 0.8803 MB / 0.8031 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/0.5068, allocations: 2.804 MB / 0.8059 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.5092, allocations: 0.5175 MB / 0.8064 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.5102, allocations: 260.9 kB / 0.8066 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.5104, allocations: 93.05 kB / 0.8067 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.5105, allocations: 42.48 kB / 0.8067 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 4.148e-06/0.5105, allocations: 0 / 0.8067 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01413/0.5246, allocations: 3.111 MB / 0.8098 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.5247, allocations: 55.41 kB / 0.8098 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/0.5254, allocations: 401.6 kB / 0.8102 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.5255, allocations: 25.7 kB / 0.8102 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.5257, allocations: 247.7 kB / 0.8105 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.5258, allocations: 82.83 kB / 0.8106 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.5259, allocations: 33.7 kB / 0.8106 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5261, allocations: 342.8 kB / 0.8109 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009376/0.527, allocations: 359.5 kB / 0.8113 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.5281, allocations: 433 kB / 0.8117 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.5301, allocations: 0.7661 MB / 0.8124 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5301, allocations: 4 kB / 0.8124 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005493/0.5356, allocations: 1.518 MB / 0.8139 GB, free: 1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.5358, allocations: 148.1 kB / 0.814 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5358, allocations: 0 / 0.814 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004055/0.5399, allocations: 0.8208 MB / 0.8148 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.5406, allocations: 131.7 kB / 0.815 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007931/0.5485, allocations: 4.535 MB / 0.8194 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.5496, allocations: 111.9 kB / 0.8195 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.5496, allocations: 15.98 kB / 0.8195 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5497, allocations: 4 kB / 0.8195 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004591/0.5543, allocations: 1.246 MB / 0.8207 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5543, allocations: 4.188 kB / 0.8207 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002717/0.557, allocations: 0.543 MB / 0.8213 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.5576, allocations: 139.8 kB / 0.8214 GB, free: 9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.5631, allocations: 2.697 MB / 0.824 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.5639, allocations: 103.9 kB / 0.8241 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.5639, allocations: 23.92 kB / 0.8242 GB, free: 6.043 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005242/0.5645, allocations: 321 kB / 0.8245 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5646, allocations: 35.61 kB / 0.8245 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.5693, allocations: 1.402 MB / 0.8259 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5693, allocations: 4 kB / 0.8259 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5693, allocations: 0 / 0.8259 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.5693, allocations: 7.938 kB / 0.8259 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/0.5751, allocations: 2.025 MB / 0.8279 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5752, allocations: 0 / 0.8279 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.5756, allocations: 91.98 kB / 0.828 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003595/0.5792, allocations: 0.7544 MB / 0.8287 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.5792, allocations: 11.98 kB / 0.8287 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007265/0.5865, allocations: 4.368 MB / 0.833 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.5865, allocations: 8.016 kB / 0.833 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004988/0.5915, allocations: 1.415 MB / 0.8344 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.5919, allocations: 168.6 kB / 0.8345 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.5921, allocations: 11.94 kB / 0.8345 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/0.5927, allocations: 95.84 kB / 0.8346 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.5929, allocations: 19.97 kB / 0.8346 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.593, allocations: 12 kB / 0.8347 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004925/0.5934, allocations: 303.1 kB / 0.8349 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5935, allocations: 0 / 0.8349 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001059/0.5945, allocations: 196 kB / 0.8351 GB, free: 10.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/0.5948, allocations: 111.2 kB / 0.8352 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004688/0.5995, allocations: 1.734 MB / 0.8369 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5995, allocations: 128 / 0.8369 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.6008, allocations: 0.6416 MB / 0.8376 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.6017, allocations: 123.4 kB / 0.8377 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.604, allocations: 1.249 MB / 0.8389 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.6047, allocations: 0.9054 MB / 0.8398 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.6049, allocations: 43.36 kB / 0.8398 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of SimCode: time 8.41e-07/0.6049, allocations: 0 / 0.8398 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of Templates: time 0.02063/0.6255, allocations: 12.34 MB / 0.8519 GB, free: 9.145 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1