Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 100.5 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.001355/0.001354, allocations: 175.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.446/1.446, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.539/2.539, allocations: 390.5 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9068/0.9071, allocations: 142.3 MB / 0.9544 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01269/0.9198, allocations: 12.67 MB / 0.9668 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.9336, allocations: 8.734 MB / 0.9753 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.9354, allocations: 50.88 kB / 0.9754 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008547/0.9363, allocations: 269.2 kB / 0.9756 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.9408, allocations: 1.276 MB / 0.9769 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.9426, allocations: 0.5104 MB / 0.9774 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004352/0.947, allocations: 2.675 MB / 0.98 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003623/0.9506, allocations: 1.799 MB / 0.9817 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.9527, allocations: 0.8451 MB / 0.9826 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.9549, allocations: 1.025 MB / 0.9836 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003343/0.9552, allocations: 75.98 kB / 0.9836 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.9567, allocations: 435.5 kB / 0.9841 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005874/0.9573, allocations: 0.5062 MB / 0.9846 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.9578, allocations: 344.8 kB / 0.9849 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.9603, allocations: 2.123 MB / 0.987 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.9603, allocations: 4 kB / 0.987 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9603, allocations: 0 / 0.987 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.448e-05/0.9604, allocations: 0 / 0.987 GB, free: 14.7 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003465/0.9639, allocations: 1.829 MB / 0.9887 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.9639, allocations: 16.02 kB / 0.9888 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.9741, allocations: 2.147 MB / 0.9909 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.9767, allocations: 1.15 MB / 0.992 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.9768, allocations: 98.31 kB / 0.9921 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.977, allocations: 127.8 kB / 0.9922 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005398/0.9825, allocations: 2.69 MB / 0.9948 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/0.9825, allocations: 7.938 kB / 0.9948 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.9827, allocations: 55.98 kB / 0.9949 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005267/0.9833, allocations: 182.1 kB / 0.9951 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007084/0.9904, allocations: 2.838 MB / 0.9978 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/1.005, allocations: 10.56 MB / 1.008 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005931/1.011, allocations: 2.574 MB / 1.011 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/1.014, allocations: 1.303 MB / 1.012 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.295e-05/1.014, allocations: 9 kB / 1.012 GB, free: 4.188 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/1.014, allocations: 47.5 kB / 1.012 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=89): time 2.926e-06/1.014, allocations: 0 / 1.012 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of matching and sorting (n=131): time 0.04167/1.056, allocations: 13.44 MB / 1.025 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/1.056, allocations: 64.72 kB / 1.025 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.058, allocations: 1.105 MB / 1.026 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/1.058, allocations: 49.7 kB / 1.026 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/1.059, allocations: 0.7156 MB / 1.027 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/1.059, allocations: 457.4 kB / 1.027 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.059, allocations: 24 kB / 1.027 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.059, allocations: 365.9 kB / 1.028 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/1.062, allocations: 1.354 MB / 1.029 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/1.065, allocations: 1.62 MB / 1.031 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/1.069, allocations: 1.458 MB / 1.032 GB, free: 15.12 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.069, allocations: 0 / 1.032 GB, free: 15.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01061/1.079, allocations: 4.469 MB / 1.036 GB, free: 10.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.079, allocations: 9.562 kB / 1.037 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.079, allocations: 12.81 kB / 1.037 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/1.084, allocations: 1.423 MB / 1.038 GB, free: 9.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.086, allocations: 451.2 kB / 1.038 GB, free: 8.676 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/1.114, allocations: 24.52 MB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/1.116, allocations: 311.6 kB / 1.063 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/1.117, allocations: 59.97 kB / 1.063 GB, free: 14.04 MB / 0.8262 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001196/1.118, allocations: 437.4 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/1.118, allocations: 162.1 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.13, allocations: 4.48 MB / 1.068 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/1.13, allocations: 12 kB / 1.068 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.466e-05/1.13, allocations: 23.94 kB / 1.068 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.13, allocations: 3.984 kB / 1.068 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/1.145, allocations: 6.825 MB / 1.074 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.145, allocations: 4.344 kB / 1.074 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.147, allocations: 391.4 kB / 1.075 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004506/1.151, allocations: 1.306 MB / 1.076 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/1.151, allocations: 35.97 kB / 1.076 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02703/1.178, allocations: 23.5 MB / 1.099 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.178, allocations: 4 kB / 1.099 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.189, allocations: 4.231 MB / 1.103 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.191, allocations: 462.9 kB / 1.104 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005344/1.191, allocations: 28 kB / 1.104 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.193, allocations: 315.7 kB / 1.104 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005035/1.194, allocations: 120.8 kB / 1.104 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.194, allocations: 55.95 kB / 1.104 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001394/1.195, allocations: 0.7409 MB / 1.105 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/1.195, allocations: 0 / 1.105 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002658/1.198, allocations: 0.5703 MB / 1.105 GB, free: 256 kB / 0.8575 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003276/1.198, allocations: 144.9 kB / 1.105 GB, free: 104 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.21, allocations: 5.143 MB / 1.11 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.21, allocations: 0 / 1.11 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00708/1.217, allocations: 3.512 MB / 1.114 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/1.22, allocations: 0.5043 MB / 1.114 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/1.228, allocations: 4.644 MB / 1.119 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.23, allocations: 1.473 MB / 1.12 GB, free: 412 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/1.23, allocations: 135.3 kB / 1.12 GB, free: 276 kB / 0.8731 GB Notification: Performance of SimCode: time 1.322e-06/1.23, allocations: 0 / 1.12 GB, free: 276 kB / 0.8731 GB Notification: Performance of Templates: time 0.1101/1.34, allocations: 112.3 MB / 1.23 GB, free: 15.95 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLineCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineCalcHelperMain.o] Error 1