Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001325/0.001324, allocations: 99.98 kB / 15.71 MB, free: 452 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.002195/0.002195, allocations: 176.4 kB / 16.58 MB, free: 6.422 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.485/1.485, allocations: 223.3 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.853/2.853, allocations: 436.7 MB / 0.7113 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 12 kB / 0.8717 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.933/0.9334, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03742/0.9709, allocations: 32.03 MB / 1.053 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.99, allocations: 9.487 MB / 1.062 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004446/0.9945, allocations: 123.3 kB / 1.062 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.9975, allocations: 0.6859 MB / 1.063 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006398/1.004, allocations: 1.636 MB / 1.065 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00494/1.009, allocations: 1.152 MB / 1.066 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01447/1.023, allocations: 8.837 MB / 1.074 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02022/1.044, allocations: 10.42 MB / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006028/1.05, allocations: 2.436 MB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006899/1.057, allocations: 3.13 MB / 1.09 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/1.058, allocations: 280 kB / 1.09 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/1.061, allocations: 0.6439 MB / 1.091 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002962/1.064, allocations: 2.085 MB / 1.093 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002451/1.066, allocations: 1.034 MB / 1.094 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.078, allocations: 8.554 MB / 1.102 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/1.078, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.625e-06/1.078, allocations: 3.938 kB / 1.102 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003887/1.079, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.8575 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.01268/1.091, allocations: 4.41 MB / 1.107 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.091, allocations: 11.98 kB / 1.107 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/1.098, allocations: 0.9617 MB / 1.108 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007061/1.105, allocations: 2.929 MB / 1.11 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/1.105, allocations: 361.5 kB / 1.111 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/1.107, allocations: 463.9 kB / 1.111 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/1.129, allocations: 7.878 MB / 1.119 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002073/1.129, allocations: 15.88 kB / 1.119 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.13, allocations: 211.9 kB / 1.119 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005473/1.131, allocations: 369.1 kB / 1.119 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/1.146, allocations: 5.898 MB / 1.125 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05415/1.2, allocations: 36.25 MB / 1.161 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/1.204, allocations: 2.127 MB / 1.163 GB, free: 12.71 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/1.207, allocations: 1.488 MB / 1.164 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/1.207, allocations: 17.31 kB / 1.164 GB, free: 11.2 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/1.207, allocations: 51.88 kB / 1.164 GB, free: 11.14 MB / 0.92 GB Notification: Performance of pre-optimization done (n=157): time 3.667e-06/1.207, allocations: 7.938 kB / 1.164 GB, free: 11.13 MB / 0.92 GB Notification: Performance of matching and sorting (n=160): time 0.01577/1.223, allocations: 7.533 MB / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/1.223, allocations: 68.72 kB / 1.172 GB, free: 3.246 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/1.227, allocations: 1.845 MB / 1.173 GB, free: 1.375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/1.227, allocations: 53.7 kB / 1.174 GB, free: 1.316 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.229, allocations: 2.138 MB / 1.176 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007122/1.23, allocations: 0.5546 MB / 1.176 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/1.23, allocations: 44 kB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003178/1.23, allocations: 390.3 kB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.232, allocations: 1.055 MB / 1.178 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/1.234, allocations: 1.76 MB / 1.179 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/1.236, allocations: 1.345 MB / 1.181 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/1.236, allocations: 8 kB / 1.181 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007212/1.244, allocations: 3.901 MB / 1.184 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/1.244, allocations: 18.03 kB / 1.184 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/1.244, allocations: 20 kB / 1.184 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/1.246, allocations: 0.9316 MB / 1.185 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.248, allocations: 431.3 kB / 1.186 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/1.27, allocations: 21.05 MB / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.272, allocations: 123.9 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005324/1.273, allocations: 95.98 kB / 1.207 GB, free: 13.43 MB / 0.9669 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.004137/1.277, allocations: 1.645 MB / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008055/1.278, allocations: 253.1 kB / 1.208 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/1.284, allocations: 3.252 MB / 1.212 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/1.284, allocations: 16 kB / 1.212 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.232e-05/1.284, allocations: 15.98 kB / 1.212 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.284, allocations: 3.984 kB / 1.212 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.299, allocations: 7.537 MB / 1.219 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/1.299, allocations: 4 kB / 1.219 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009448/1.3, allocations: 215.6 kB / 1.219 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/1.303, allocations: 0.8926 MB / 1.22 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/1.303, allocations: 28 kB / 1.22 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02273/1.326, allocations: 21.02 MB / 1.241 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/1.326, allocations: 11.94 kB / 1.241 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006836/1.332, allocations: 3.36 MB / 1.244 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.334, allocations: 0.5407 MB / 1.244 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006946/1.335, allocations: 35.98 kB / 1.244 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.336, allocations: 95.89 kB / 1.245 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/1.337, allocations: 141.2 kB / 1.245 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.337, allocations: 44 kB / 1.245 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001959/1.339, allocations: 1.201 MB / 1.246 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.339, allocations: 0 / 1.246 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003763/1.343, allocations: 0.9062 MB / 1.247 GB, free: 2.219 MB / 0.9981 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.0003478/1.343, allocations: 163 kB / 1.247 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.6364/1.979, allocations: 4.401 MB / 1.251 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.979, allocations: 3.562 kB / 1.251 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005116/1.985, allocations: 2.991 MB / 1.254 GB, free: 206.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/1.989, allocations: 0.764 MB / 1.255 GB, free: 206.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/2.009, allocations: 9.876 MB / 1.265 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007022/2.017, allocations: 3.275 MB / 1.268 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/2.018, allocations: 165.5 kB / 1.268 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/2.018, allocations: 0 / 1.268 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.2979/2.315, allocations: 339.3 MB / 1.599 GB, free: 5.547 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1