Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 92.39 kB / 16.02 MB, free: 80 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.002269/0.002269, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.983/1.983, allocations: 205.4 MB / 223.1 MB, free: 5.566 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.944/1.944, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005523/0.0005523, allocations: 15.69 kB / 0.675 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3017, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01386/0.3156, allocations: 9.605 MB / 0.7979 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008457/0.3241, allocations: 3.191 MB / 0.801 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.3256, allocations: 27.88 kB / 0.8011 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007267/0.3264, allocations: 182.6 kB / 0.8012 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.3287, allocations: 0.7081 MB / 0.8019 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.3308, allocations: 0.6396 MB / 0.8026 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006382/0.3372, allocations: 4.478 MB / 0.8069 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005924/0.3432, allocations: 3.149 MB / 0.81 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.3458, allocations: 0.9301 MB / 0.8109 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.3492, allocations: 1.46 MB / 0.8123 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007824/0.35, allocations: 112 kB / 0.8124 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.3521, allocations: 463.2 kB / 0.8129 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.3547, allocations: 0.9354 MB / 0.8138 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003891/0.3587, allocations: 0.9657 MB / 0.8147 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004909/0.3636, allocations: 3.012 MB / 0.8177 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.3636, allocations: 0 / 0.8177 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.313e-05/0.3636, allocations: 3.938 kB / 0.8177 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001011/0.3638, allocations: 3.938 kB / 0.8177 GB, free: 13.57 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005465/0.3692, allocations: 1.76 MB / 0.8194 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/0.3693, allocations: 8.031 kB / 0.8194 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009382/0.3787, allocations: 1.321 MB / 0.8207 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.3821, allocations: 1.259 MB / 0.8219 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3822, allocations: 111.4 kB / 0.822 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.3826, allocations: 144.3 kB / 0.8222 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006296/0.3889, allocations: 3.441 MB / 0.8255 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/0.389, allocations: 3.938 kB / 0.8255 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.3892, allocations: 63.97 kB / 0.8256 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003048/0.3895, allocations: 207.1 kB / 0.8258 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005562/0.3951, allocations: 3.127 MB / 0.8289 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.4152, allocations: 13.59 MB / 0.8421 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/0.4181, allocations: 1.726 MB / 0.8438 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.4202, allocations: 1.433 MB / 0.8452 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.4203, allocations: 13 kB / 0.8452 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.4203, allocations: 43.56 kB / 0.8453 GB, free: 232 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 7.735e-06/0.4203, allocations: 7.984 kB / 0.8453 GB, free: 224 kB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1484/0.5688, allocations: 35.96 MB / 0.8804 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.5689, allocations: 73.41 kB / 0.8805 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.5707, allocations: 1.053 MB / 0.8815 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004192/0.5711, allocations: 61.7 kB / 0.8815 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006677/0.5718, allocations: 0.7834 MB / 0.8823 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009212/0.5727, allocations: 0.6277 MB / 0.8829 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/0.5732, allocations: 153.6 kB / 0.8831 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5733, allocations: 305.1 kB / 0.8834 GB, free: 9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/0.5766, allocations: 1.928 MB / 0.8852 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/0.5798, allocations: 2.289 MB / 0.8875 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006176/0.586, allocations: 4.388 MB / 0.8918 GB, free: 148 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.5861, allocations: 4 kB / 0.8918 GB, free: 144 kB / 0.7012 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02206/0.6081, allocations: 9.02 MB / 0.9006 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.6082, allocations: 11.94 kB / 0.9006 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/0.6083, allocations: 12 kB / 0.9006 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/0.6272, allocations: 4.978 MB / 0.9055 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.6283, allocations: 191.6 kB / 0.9056 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7119/1.34, allocations: 35.13 MB / 0.9399 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.343, allocations: 104.1 kB / 0.94 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/1.343, allocations: 67.64 kB / 0.9401 GB, free: 118.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002068/1.345, allocations: 0.8048 MB / 0.9409 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/1.346, allocations: 143.2 kB / 0.941 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02358/1.369, allocations: 8.899 MB / 0.9497 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-05/1.369, allocations: 17.31 kB / 0.9497 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001721/1.369, allocations: 30.78 kB / 0.9498 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.615e-05/1.37, allocations: 14.81 kB / 0.9498 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03006/1.4, allocations: 13.27 MB / 0.9627 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/1.4, allocations: 3.344 kB / 0.9627 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/1.4, allocations: 120.1 kB / 0.9629 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/1.416, allocations: 4.764 MB / 0.9675 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/1.416, allocations: 35.5 kB / 0.9675 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04443/1.46, allocations: 31.45 MB / 0.9983 GB, free: 79.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.461, allocations: 11.94 kB / 0.9983 GB, free: 79.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/1.478, allocations: 8.392 MB / 1.006 GB, free: 71.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.48, allocations: 0.6163 MB / 1.007 GB, free: 70.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/1.48, allocations: 43.98 kB / 1.007 GB, free: 70.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.481, allocations: 91.89 kB / 1.007 GB, free: 70.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008861/1.482, allocations: 153.7 kB / 1.007 GB, free: 70.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.482, allocations: 48.56 kB / 1.007 GB, free: 70.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008616/1.483, allocations: 0.7382 MB / 1.008 GB, free: 69.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.483, allocations: 4 kB / 1.008 GB, free: 69.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003355/1.487, allocations: 1.004 MB / 1.009 GB, free: 68.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004136/1.487, allocations: 144.8 kB / 1.009 GB, free: 68.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009577/1.497, allocations: 5.837 MB / 1.015 GB, free: 62.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.497, allocations: 0 / 1.015 GB, free: 62.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00684/1.504, allocations: 3.816 MB / 1.019 GB, free: 58.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.506, allocations: 224.6 kB / 1.019 GB, free: 58.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/1.513, allocations: 6.103 MB / 1.025 GB, free: 52.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/1.514, allocations: 1.89 MB / 1.027 GB, free: 50.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/1.515, allocations: 71.42 kB / 1.027 GB, free: 50.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.515, allocations: 0 / 1.027 GB, free: 50.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.07283/1.587, allocations: 68.79 MB / 1.094 GB, free: 13.37 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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 OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_NCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_NCalcHelperMain.o] Error 1