Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.001095/0.001094, 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.001593/0.001593, allocations: 176.2 kB / 16.58 MB, free: 6.863 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.59/1.59, allocations: 223.2 MB / 240.6 MB, free: 5.355 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.552/2.552, allocations: 390.4 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9567/0.9571, allocations: 142.3 MB / 0.9544 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01179/0.9689, allocations: 9.787 MB / 0.964 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.9837, allocations: 8.182 MB / 0.972 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.9859, allocations: 52.44 kB / 0.972 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.987, allocations: 270 kB / 0.9723 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.9927, allocations: 1.251 MB / 0.9735 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.9947, allocations: 470.8 kB / 0.9739 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004985/0.9997, allocations: 2.438 MB / 0.9763 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004061/1.004, allocations: 1.788 MB / 0.9781 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/1.006, allocations: 0.7934 MB / 0.9789 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/1.008, allocations: 0.9084 MB / 0.9797 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/1.008, allocations: 59.47 kB / 0.9798 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/1.01, allocations: 453.1 kB / 0.9802 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005837/1.01, allocations: 482.9 kB / 0.9807 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/1.011, allocations: 336.5 kB / 0.981 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002662/1.014, allocations: 1.96 MB / 0.9829 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.014, allocations: 0 / 0.9829 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/1.014, allocations: 0 / 0.9829 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.953e-05/1.014, allocations: 0 / 0.9829 GB, free: 2.977 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003641/1.017, allocations: 1.737 MB / 0.9846 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.017, allocations: 8.031 kB / 0.9846 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009808/1.027, allocations: 2.108 MB / 0.9867 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/1.03, allocations: 1.079 MB / 0.9877 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/1.03, allocations: 86.33 kB / 0.9878 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/1.03, allocations: 123.9 kB / 0.9879 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/1.036, allocations: 2.498 MB / 0.9904 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/1.036, allocations: 11.84 kB / 0.9904 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/1.036, allocations: 48 kB / 0.9904 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003076/1.037, allocations: 126.1 kB / 0.9906 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/1.044, allocations: 2.584 MB / 0.9931 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/1.058, allocations: 10.11 MB / 1.003 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005461/1.063, allocations: 2.007 MB / 1.005 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/1.066, allocations: 0.9893 MB / 1.006 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.296e-05/1.066, allocations: 8.438 kB / 1.006 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.066, allocations: 39 kB / 1.006 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 3.537e-06/1.066, allocations: 0 / 1.006 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.02751/1.093, allocations: 8.769 MB / 1.014 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/1.094, allocations: 60.06 kB / 1.015 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.095, allocations: 1.089 MB / 1.016 GB, free: 440 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.095, allocations: 37.7 kB / 1.016 GB, free: 396 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/1.096, allocations: 0.7379 MB / 1.016 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/1.096, allocations: 284 kB / 1.017 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/1.097, allocations: 20 kB / 1.017 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.097, allocations: 345.9 kB / 1.017 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/1.099, allocations: 1.091 MB / 1.018 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/1.102, allocations: 1.321 MB / 1.019 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/1.105, allocations: 1.143 MB / 1.02 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.105, allocations: 4 kB / 1.02 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008038/1.113, allocations: 3.303 MB / 1.024 GB, free: 8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/1.113, allocations: 8.875 kB / 1.024 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.113, allocations: 15.88 kB / 1.024 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/1.116, allocations: 0.7833 MB / 1.024 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/1.117, allocations: 427.2 kB / 1.025 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/1.133, allocations: 14.69 MB / 1.039 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/1.136, allocations: 299.5 kB / 1.04 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.136, allocations: 51.95 kB / 1.04 GB, free: 6.648 MB / 0.795 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.0008681/1.137, allocations: 398.4 kB / 1.04 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.137, allocations: 150.2 kB / 1.04 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007928/1.145, allocations: 3.234 MB / 1.043 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.145, allocations: 8 kB / 1.043 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.145, allocations: 8 kB / 1.043 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.145, allocations: 7.969 kB / 1.043 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.156, allocations: 4.947 MB / 1.048 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.156, allocations: 352 / 1.048 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.157, allocations: 371.3 kB / 1.048 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/1.159, allocations: 0.7013 MB / 1.049 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-05/1.159, allocations: 31.91 kB / 1.049 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.174, allocations: 14.3 MB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.174, allocations: 7.969 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007481/1.182, allocations: 3.085 MB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.183, allocations: 383.1 kB / 1.067 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/1.183, allocations: 16.19 kB / 1.067 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.184, allocations: 311.5 kB / 1.067 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/1.185, allocations: 72.45 kB / 1.067 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.226e-05/1.185, allocations: 43.95 kB / 1.067 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00107/1.186, allocations: 0.7249 MB / 1.068 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/1.186, allocations: 4 kB / 1.068 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001613/1.187, allocations: 428 kB / 1.068 GB, free: 8.09 MB / 0.8262 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.000263/1.188, allocations: 136.6 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007778/1.195, allocations: 3.648 MB / 1.072 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.196, allocations: 0 / 1.072 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004657/1.2, allocations: 2.395 MB / 1.074 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.203, allocations: 485.1 kB / 1.075 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/1.21, allocations: 4.044 MB / 1.079 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.211, allocations: 1.384 MB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/1.212, allocations: 127.3 kB / 1.08 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of SimCode: time 1.213e-06/1.212, allocations: 0 / 1.08 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.09329/1.305, allocations: 74.85 MB / 1.153 GB, free: 0.7969 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.o] Error 1