Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000761/0.000761, allocations: 98.64 kB / 16.02 MB, free: 76 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.0008504/0.0008504, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.443/1.443, allocations: 223.2 MB / 240.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 266.4 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004853, allocations: 15.94 kB / 0.5993 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0361/0.2354, allocations: 33.96 MB / 0.7189 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.2521, allocations: 9.832 MB / 0.7285 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.2554, allocations: 127.2 kB / 0.7287 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.2574, allocations: 0.6977 MB / 0.7294 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005662/0.2631, allocations: 1.917 MB / 0.7312 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.2675, allocations: 1.606 MB / 0.7328 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.2807, allocations: 11.2 MB / 0.7437 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02152/0.3023, allocations: 12.16 MB / 0.7556 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005748/0.3081, allocations: 2.415 MB / 0.758 GB, free: 4.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008043/0.3161, allocations: 3.203 MB / 0.7611 GB, free: 1.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002508/0.3187, allocations: 280 kB / 0.7614 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004563/0.3233, allocations: 1.267 MB / 0.7626 GB, free: 168 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.4067/0.73, allocations: 2.094 MB / 0.7646 GB, free: 27.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006697/0.7367, allocations: 2.532 MB / 0.7671 GB, free: 26.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.7501, allocations: 8.586 MB / 0.7755 GB, free: 26.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.7501, allocations: 3.625 kB / 0.7755 GB, free: 26.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.066e-06/0.7501, allocations: 1.844 kB / 0.7755 GB, free: 26.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004239/0.7506, allocations: 0 / 0.7755 GB, free: 26.38 MB / 0.545 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.01483/0.7654, allocations: 4.363 MB / 0.7798 GB, free: 24.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7655, allocations: 8.562 kB / 0.7798 GB, free: 24.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006943/0.7724, allocations: 0.9638 MB / 0.7807 GB, free: 24.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007476/0.7799, allocations: 2.998 MB / 0.7836 GB, free: 23.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.7802, allocations: 357.2 kB / 0.784 GB, free: 23.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001823/0.7821, allocations: 469.5 kB / 0.7844 GB, free: 23.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.8013, allocations: 7.905 MB / 0.7921 GB, free: 22.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.8015, allocations: 25.08 kB / 0.7922 GB, free: 22.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007998/0.8023, allocations: 211.3 kB / 0.7924 GB, free: 22.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006351/0.8029, allocations: 368.3 kB / 0.7927 GB, free: 22.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.8179, allocations: 5.937 MB / 0.7985 GB, free: 21.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04763/0.8656, allocations: 36.26 MB / 0.8339 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.869, allocations: 2.139 MB / 0.836 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.8708, allocations: 1.481 MB / 0.8375 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.333e-05/0.8709, allocations: 20.34 kB / 0.8375 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.871, allocations: 51.5 kB / 0.8375 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.176e-06/0.871, allocations: 0 / 0.8375 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01433/0.8853, allocations: 7.573 MB / 0.8449 GB, free: 500 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.8854, allocations: 70.44 kB / 0.845 GB, free: 436 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.8883, allocations: 1.865 MB / 0.8468 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.8885, allocations: 52.33 kB / 0.8469 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.8899, allocations: 2.129 MB / 0.8489 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005608/0.8905, allocations: 0.5529 MB / 0.8495 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.8908, allocations: 176.8 kB / 0.8497 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8909, allocations: 308.3 kB / 0.8499 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.8923, allocations: 1.058 MB / 0.851 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.8942, allocations: 1.769 MB / 0.8527 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003733/0.8979, allocations: 3.043 MB / 0.8557 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.8979, allocations: 8 kB / 0.8557 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006528/0.9045, allocations: 3.927 MB / 0.8595 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.9045, allocations: 12 kB / 0.8595 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.9046, allocations: 24 kB / 0.8596 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.907, allocations: 0.9307 MB / 0.8605 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.9086, allocations: 428.4 kB / 0.8609 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.9279, allocations: 21.07 MB / 0.8815 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.9307, allocations: 131.9 kB / 0.8816 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/0.9309, allocations: 95.94 kB / 0.8817 GB, free: 11.69 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00434/0.9353, allocations: 1.649 MB / 0.8833 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007267/0.936, allocations: 253.1 kB / 0.8835 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/0.9418, allocations: 3.263 MB / 0.8867 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.9418, allocations: 16 kB / 0.8867 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.9418, allocations: 12 kB / 0.8867 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.9418, allocations: 9.094 kB / 0.8867 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.9547, allocations: 7.561 MB / 0.8941 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.9548, allocations: 7.984 kB / 0.8941 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/0.9558, allocations: 218.7 kB / 0.8943 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/0.9583, allocations: 0.8819 MB / 0.8952 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.9584, allocations: 36 kB / 0.8952 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/0.9774, allocations: 21.04 MB / 0.9158 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.9774, allocations: 8.375 kB / 0.9158 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/0.9832, allocations: 3.384 MB / 0.9191 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.9847, allocations: 0.5369 MB / 0.9196 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/0.985, allocations: 35.98 kB / 0.9197 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.9861, allocations: 87.89 kB / 0.9197 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.9866, allocations: 140.5 kB / 0.9199 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.9867, allocations: 48 kB / 0.9199 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00179/0.9885, allocations: 1.232 MB / 0.9211 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9885, allocations: 0 / 0.9211 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003345/0.9919, allocations: 0.9023 MB / 0.922 GB, free: 0.7227 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003025/0.9922, allocations: 157.9 kB / 0.9222 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006649/0.9988, allocations: 4.424 MB / 0.9265 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.9989, allocations: 0 / 0.9265 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004448/1.003, allocations: 3.001 MB / 0.9294 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005616/1.009, allocations: 0.774 MB / 0.9302 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/1.026, allocations: 10.34 MB / 0.9403 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/1.03, allocations: 3.283 MB / 0.9435 GB, free: 10.48 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.031, allocations: 159.4 kB / 0.9436 GB, free: 10.32 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/1.031, allocations: 0 / 0.9436 GB, free: 10.32 MB / 0.67 GB Notification: Performance of Templates: time 0.6676/1.698, allocations: 339.1 MB / 1.275 GB, free: 69.42 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1