Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008814/0.0008815, allocations: 101.6 kB / 15.71 MB, free: 456 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.001116/0.001117, allocations: 177.6 kB / 16.58 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 222.8 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.918/1.918, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005468/0.0005469, allocations: 17.94 kB / 0.6744 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3133, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01296/0.3263, allocations: 10.68 MB / 0.7984 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.3368, allocations: 5.021 MB / 0.8033 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.3382, allocations: 31.88 kB / 0.8033 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.3393, allocations: 302 kB / 0.8036 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.3407, allocations: 0.5018 MB / 0.8041 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.3424, allocations: 469.8 kB / 0.8045 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003453/0.3459, allocations: 2.793 MB / 0.8073 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005576/0.3515, allocations: 3.622 MB / 0.8108 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.353, allocations: 0.7318 MB / 0.8115 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.3544, allocations: 1.001 MB / 0.8125 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.3546, allocations: 96 kB / 0.8126 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009724/0.3556, allocations: 299.7 kB / 0.8129 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007505/0.3563, allocations: 0.7209 MB / 0.8136 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.3568, allocations: 348.9 kB / 0.8139 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.36, allocations: 3.027 MB / 0.8169 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.36, allocations: 0 / 0.8169 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.307e-06/0.36, allocations: 4 kB / 0.8169 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.598e-05/0.3601, allocations: 0 / 0.8169 GB, free: 14.19 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003799/0.3639, allocations: 1.64 MB / 0.8185 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.364, allocations: 8.031 kB / 0.8185 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.3663, allocations: 477.5 kB / 0.8189 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.3685, allocations: 1.135 MB / 0.82 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/0.3686, allocations: 123 kB / 0.8201 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.3688, allocations: 148 kB / 0.8203 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005072/0.3739, allocations: 2.754 MB / 0.823 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.374, allocations: 0 / 0.823 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.3742, allocations: 63.98 kB / 0.823 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003697/0.3745, allocations: 174.9 kB / 0.8232 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.3784, allocations: 2.288 MB / 0.8254 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.3912, allocations: 10.55 MB / 0.8357 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3922, allocations: 0.5686 MB / 0.8363 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.3928, allocations: 392.6 kB / 0.8367 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.3929, allocations: 89.09 kB / 0.8368 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.393, allocations: 38.5 kB / 0.8368 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.745e-06/0.393, allocations: 0 / 0.8368 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.0185/0.4115, allocations: 6.276 MB / 0.8429 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.4116, allocations: 85.55 kB / 0.843 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.413, allocations: 0.8944 MB / 0.8439 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.4131, allocations: 37.7 kB / 0.8439 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/0.4138, allocations: 0.7539 MB / 0.8447 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.414, allocations: 189.4 kB / 0.8448 GB, free: 340 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.414, allocations: 16 kB / 0.8448 GB, free: 324 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002544/0.4143, allocations: 386.8 kB / 0.8452 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.4154, allocations: 0.6421 MB / 0.8458 GB, free: 15.29 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.4167, allocations: 0.9995 MB / 0.8468 GB, free: 14.12 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.4179, allocations: 0.814 MB / 0.8476 GB, free: 13.31 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.418, allocations: 4 kB / 0.8476 GB, free: 13.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008298/0.4263, allocations: 3.213 MB / 0.8508 GB, free: 10.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004128/0.4267, allocations: 427.1 kB / 0.8512 GB, free: 9.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.4267, allocations: 16 kB / 0.8512 GB, free: 9.473 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007074/0.4338, allocations: 1.86 MB / 0.853 GB, free: 7.598 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/0.4348, allocations: 223.6 kB / 0.8532 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.449, allocations: 10.22 MB / 0.8632 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.4505, allocations: 183.7 kB / 0.8634 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.4506, allocations: 51.97 kB / 0.8634 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.4506, allocations: 4 kB / 0.8634 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006807/0.4574, allocations: 2.614 MB / 0.866 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.4575, allocations: 19.92 kB / 0.866 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004637/0.4621, allocations: 1.2 MB / 0.8672 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/0.4631, allocations: 255.5 kB / 0.8674 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007471/0.4706, allocations: 5.539 MB / 0.8728 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.4719, allocations: 151.8 kB / 0.873 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.472, allocations: 44 kB / 0.873 GB, free: 2.293 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001474/0.4735, allocations: 0.8445 MB / 0.8738 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.4737, allocations: 79.06 kB / 0.8739 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007259/0.4809, allocations: 2.68 MB / 0.8765 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.481, allocations: 4 kB / 0.8765 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.481, allocations: 4 kB / 0.8765 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.481, allocations: 7.984 kB / 0.8765 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4913, allocations: 4.624 MB / 0.8811 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.4913, allocations: 4 kB / 0.8811 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.4917, allocations: 100.1 kB / 0.8812 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006264/0.498, allocations: 1.708 MB / 0.8828 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/0.4981, allocations: 12 kB / 0.8828 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.5103, allocations: 9.758 MB / 0.8924 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5103, allocations: 0 / 0.8924 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/0.5173, allocations: 2.644 MB / 0.8949 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.5179, allocations: 296 kB / 0.8952 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.518, allocations: 8 kB / 0.8952 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/0.5187, allocations: 139.8 kB / 0.8954 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.5189, allocations: 55.81 kB / 0.8954 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.519, allocations: 16 kB / 0.8954 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009248/0.5199, allocations: 0.6356 MB / 0.8961 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5199, allocations: 4 kB / 0.8961 GB, free: 9.902 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002082/0.522, allocations: 0.5938 MB / 0.8966 GB, free: 9.309 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002671/0.5223, allocations: 123.7 kB / 0.8968 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005692/0.528, allocations: 3.234 MB / 0.8999 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.528, allocations: 0.8125 kB / 0.8999 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.5301, allocations: 1.284 MB / 0.9012 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.5315, allocations: 222.8 kB / 0.9014 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007235/0.5388, allocations: 3.753 MB / 0.905 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.5407, allocations: 1.634 MB / 0.9066 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.5411, allocations: 67.36 kB / 0.9067 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 1.472e-06/0.5411, allocations: 0 / 0.9067 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.599/1.14, allocations: 57.65 MB / 0.963 GB, free: 110.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1