Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008273, 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.0009139/0.0009139, allocations: 174 kB / 16.58 MB, free: 6.402 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.459/1.459, allocations: 223.2 MB / 240.6 MB, free: 5.352 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.633/2.633, allocations: 390.4 MB / 0.6662 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004154, allocations: 16 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9211/0.9216, allocations: 142.3 MB / 0.9544 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03687/0.9585, allocations: 32.03 MB / 0.9857 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01832/0.9768, allocations: 9.481 MB / 0.995 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.9811, allocations: 127.3 kB / 0.9951 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002704/0.9839, allocations: 0.6859 MB / 0.9958 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.9899, allocations: 1.64 MB / 0.9974 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.9943, allocations: 1.143 MB / 0.9985 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01276/1.007, allocations: 8.845 MB / 1.007 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01853/1.026, allocations: 10.41 MB / 1.017 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006122/1.032, allocations: 2.432 MB / 1.02 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00696/1.039, allocations: 3.126 MB / 1.023 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001288/1.04, allocations: 280 kB / 1.023 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/1.043, allocations: 0.6478 MB / 1.024 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002797/1.046, allocations: 2.093 MB / 1.026 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002252/1.048, allocations: 1.027 MB / 1.027 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/1.061, allocations: 8.562 MB / 1.035 GB, free: 13.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.061, allocations: 0 / 1.035 GB, free: 13.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.906e-06/1.061, allocations: 4 kB / 1.035 GB, free: 13.49 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004162/1.061, allocations: 0 / 1.035 GB, free: 13.49 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01389/1.075, allocations: 4.41 MB / 1.039 GB, free: 9.012 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/1.075, allocations: 8.031 kB / 1.039 GB, free: 9.004 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007036/1.082, allocations: 0.9656 MB / 1.04 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007547/1.09, allocations: 2.925 MB / 1.043 GB, free: 5.051 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/1.09, allocations: 353.6 kB / 1.043 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/1.092, allocations: 467.9 kB / 1.044 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/1.112, allocations: 7.871 MB / 1.052 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/1.113, allocations: 23.81 kB / 1.052 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008039/1.113, allocations: 215.9 kB / 1.052 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005874/1.114, allocations: 369.1 kB / 1.052 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/1.128, allocations: 5.894 MB / 1.058 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/1.18, allocations: 36.24 MB / 1.093 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/1.183, allocations: 2.127 MB / 1.095 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/1.185, allocations: 1.492 MB / 1.097 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/1.186, allocations: 21.25 kB / 1.097 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/1.186, allocations: 55.88 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=157): time 3.947e-06/1.186, allocations: 0 / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=160): time 0.01438/1.2, allocations: 7.537 MB / 1.104 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/1.2, allocations: 72.66 kB / 1.104 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/1.203, allocations: 1.845 MB / 1.106 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/1.203, allocations: 49.7 kB / 1.106 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001931/1.205, allocations: 2.134 MB / 1.108 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000604/1.206, allocations: 0.5546 MB / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.206, allocations: 44 kB / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.206, allocations: 402.2 kB / 1.109 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/1.208, allocations: 1.055 MB / 1.11 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/1.21, allocations: 1.752 MB / 1.112 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/1.212, allocations: 1.349 MB / 1.113 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/1.212, allocations: 4 kB / 1.113 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007054/1.219, allocations: 3.902 MB / 1.117 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/1.219, allocations: 12 kB / 1.117 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/1.219, allocations: 24 kB / 1.117 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/1.221, allocations: 0.9352 MB / 1.118 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.223, allocations: 427.2 kB / 1.118 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/1.244, allocations: 21.05 MB / 1.139 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/1.246, allocations: 115.9 kB / 1.139 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/1.246, allocations: 99.98 kB / 1.139 GB, free: 12.61 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003624/1.25, allocations: 1.641 MB / 1.141 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/1.251, allocations: 257.1 kB / 1.141 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005511/1.256, allocations: 3.256 MB / 1.144 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.256, allocations: 16 kB / 1.144 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/1.256, allocations: 12 kB / 1.144 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/1.256, allocations: 7.969 kB / 1.144 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/1.269, allocations: 7.541 MB / 1.152 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.269, allocations: 7.828 kB / 1.152 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/1.27, allocations: 215.6 kB / 1.152 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/1.272, allocations: 0.8885 MB / 1.153 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/1.272, allocations: 32 kB / 1.153 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02336/1.295, allocations: 21.01 MB / 1.173 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/1.296, allocations: 8.453 kB / 1.173 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005939/1.301, allocations: 3.368 MB / 1.177 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.303, allocations: 0.5331 MB / 1.177 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/1.303, allocations: 36.19 kB / 1.177 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009861/1.304, allocations: 99.88 kB / 1.177 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/1.305, allocations: 133 kB / 1.177 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.305, allocations: 52 kB / 1.177 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001865/1.307, allocations: 1.201 MB / 1.179 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.307, allocations: 4 kB / 1.179 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003471/1.31, allocations: 0.9023 MB / 1.179 GB, free: 1.395 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000342/1.311, allocations: 162.9 kB / 1.18 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006548/1.317, allocations: 4.404 MB / 1.184 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.317, allocations: 4 kB / 1.184 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004247/1.321, allocations: 3 MB / 1.187 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/1.325, allocations: 0.773 MB / 1.188 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/1.342, allocations: 9.883 MB / 1.197 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003786/1.346, allocations: 3.275 MB / 1.2 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008297/1.346, allocations: 159.4 kB / 1.201 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of SimCode: time 1.292e-06/1.346, allocations: 0 / 1.201 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of Templates: time 0.9063/2.253, allocations: 339.3 MB / 1.532 GB, free: 21.7 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1