Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 100.7 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.001698/0.001698, allocations: 176.2 kB / 16.58 MB, free: 6.418 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.464/1.464, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 436.7 MB / 0.7113 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003963, allocations: 12.22 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8645/0.8649, allocations: 153.6 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03302/0.898, allocations: 30.36 MB / 1.051 GB, free: 2.641 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02366/0.9217, allocations: 13.93 MB / 1.065 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004964/0.9267, allocations: 131.2 kB / 1.065 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.9305, allocations: 0.7014 MB / 1.066 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.9411, allocations: 2.408 MB / 1.068 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005863/0.947, allocations: 1.4 MB / 1.07 GB, free: 28 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01513/0.9622, allocations: 9.766 MB / 1.079 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01886/0.9811, allocations: 9.867 MB / 1.089 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008384/0.9895, allocations: 2.954 MB / 1.092 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007989/0.9975, allocations: 3.391 MB / 1.095 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.9987, allocations: 296 kB / 1.095 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003643/1.002, allocations: 0.8038 MB / 1.096 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003315/1.006, allocations: 2.287 MB / 1.098 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003039/1.009, allocations: 1.128 MB / 1.099 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/1.022, allocations: 9.16 MB / 1.108 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/1.022, allocations: 0 / 1.108 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.588e-06/1.022, allocations: 0 / 1.108 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003255/1.023, allocations: 0 / 1.108 GB, free: 8.211 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01317/1.036, allocations: 4.886 MB / 1.113 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.036, allocations: 8.031 kB / 1.113 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00777/1.044, allocations: 1.152 MB / 1.114 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00854/1.052, allocations: 3.236 MB / 1.117 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/1.053, allocations: 374 kB / 1.118 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/1.055, allocations: 499.9 kB / 1.118 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/1.074, allocations: 7.962 MB / 1.126 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/1.075, allocations: 19.78 kB / 1.126 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005737/1.075, allocations: 220 kB / 1.126 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001015/1.076, allocations: 437.6 kB / 1.127 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/1.09, allocations: 6.053 MB / 1.132 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0473/1.138, allocations: 35.22 MB / 1.167 GB, free: 8.551 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/1.141, allocations: 2.015 MB / 1.169 GB, free: 6.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/1.143, allocations: 1.857 MB / 1.171 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/1.143, allocations: 18 kB / 1.171 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/1.144, allocations: 56.55 kB / 1.171 GB, free: 4.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=171): time 3.577e-06/1.144, allocations: 0 / 1.171 GB, free: 4.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=276): time 0.1341/1.278, allocations: 38.99 MB / 1.209 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/1.278, allocations: 81.58 kB / 1.209 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003909/1.282, allocations: 2.251 MB / 1.211 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004708/1.282, allocations: 73.7 kB / 1.211 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001858/1.284, allocations: 2.272 MB / 1.213 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/1.285, allocations: 0.9395 MB / 1.214 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/1.285, allocations: 56 kB / 1.214 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002567/1.286, allocations: 428.1 kB / 1.215 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/1.289, allocations: 1.966 MB / 1.217 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/1.292, allocations: 2.583 MB / 1.219 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/1.296, allocations: 2.38 MB / 1.221 GB, free: 148 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.296, allocations: 4 kB / 1.221 GB, free: 144 kB / 0.9669 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01504/1.311, allocations: 7.721 MB / 1.229 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/1.312, allocations: 12.22 kB / 1.229 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.312, allocations: 23.98 kB / 1.229 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008987/1.321, allocations: 3.211 MB / 1.232 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/1.322, allocations: 399.4 kB / 1.233 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.856/2.178, allocations: 31.08 MB / 1.263 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/2.182, allocations: 164 kB / 1.263 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005251/2.182, allocations: 109.5 kB / 1.263 GB, free: 202 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004715/2.187, allocations: 1.797 MB / 1.265 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/2.188, allocations: 328.8 kB / 1.265 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/2.204, allocations: 7.324 MB / 1.272 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-05/2.204, allocations: 26.41 kB / 1.272 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001077/2.204, allocations: 30.12 kB / 1.272 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.784e-05/2.204, allocations: 13.22 kB / 1.272 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/2.226, allocations: 12.91 MB / 1.285 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/2.226, allocations: 7.844 kB / 1.285 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008327/2.227, allocations: 230.1 kB / 1.285 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006806/2.234, allocations: 2.851 MB / 1.288 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/2.234, allocations: 55.5 kB / 1.288 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03249/2.266, allocations: 29.91 MB / 1.317 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.266, allocations: 12.81 kB / 1.317 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/2.277, allocations: 6.86 MB / 1.324 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/2.279, allocations: 0.7897 MB / 1.325 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005635/2.279, allocations: 55.98 kB / 1.325 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/2.281, allocations: 167.8 kB / 1.325 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008785/2.282, allocations: 251.5 kB / 1.325 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/2.282, allocations: 76 kB / 1.325 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002031/2.284, allocations: 1.502 MB / 1.327 GB, free: 161 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/2.284, allocations: 2.406 kB / 1.327 GB, free: 161 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004806/2.289, allocations: 1.371 MB / 1.328 GB, free: 159.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003563/2.289, allocations: 178.8 kB / 1.328 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009637/2.299, allocations: 6.909 MB / 1.335 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/2.299, allocations: 4.312 kB / 1.335 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006392/2.305, allocations: 4.417 MB / 1.339 GB, free: 148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00552/2.311, allocations: 1.027 MB / 1.34 GB, free: 147 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/2.327, allocations: 12.63 MB / 1.353 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/2.33, allocations: 3.751 MB / 1.356 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/2.331, allocations: 175.4 kB / 1.357 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.313e-06/2.331, allocations: 0 / 1.357 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.2302/2.561, allocations: 226.9 MB / 1.578 GB, free: 15.48 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_NCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_NCalcHelperMain.o] Error 1