Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008062/0.0008064, 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.0008881/0.0008882, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.454/1.454, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.868/2.868, allocations: 436.7 MB / 0.7113 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 20.2 kB / 0.8717 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8819/0.8822, allocations: 153.6 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008172/0.8905, allocations: 5.464 MB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005584/0.8961, allocations: 2.991 MB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.8969, allocations: 23.81 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.8976, allocations: 122.9 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.8992, allocations: 378 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.9006, allocations: 374.2 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.9024, allocations: 1.221 MB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.9045, allocations: 0.9054 MB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008558/0.9053, allocations: 362.5 kB / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006928/0.906, allocations: 434.3 kB / 1.034 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.9061, allocations: 32 kB / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.9068, allocations: 251.6 kB / 1.034 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.9071, allocations: 251.3 kB / 1.034 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.9073, allocations: 165.2 kB / 1.034 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009506/0.9083, allocations: 0.8824 MB / 1.035 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9083, allocations: 4 kB / 1.035 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.865e-06/0.9083, allocations: 0 / 1.035 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.9083, allocations: 0 / 1.035 GB, free: 3.195 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001535/0.9098, allocations: 0.9232 MB / 1.036 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.9099, allocations: 11.98 kB / 1.036 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.9114, allocations: 226.7 kB / 1.036 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.9122, allocations: 0.521 MB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.9122, allocations: 45.27 kB / 1.037 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.9123, allocations: 67.89 kB / 1.037 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.9138, allocations: 1.026 MB / 1.038 GB, free: 184 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.9139, allocations: 7.938 kB / 1.038 GB, free: 176 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.914, allocations: 28 kB / 1.038 GB, free: 148 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.133e-05/0.9141, allocations: 73.27 kB / 1.038 GB, free: 72 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.9152, allocations: 0.684 MB / 1.039 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/0.9207, allocations: 5.768 MB / 1.044 GB, free: 9.195 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.9217, allocations: 0.5943 MB / 1.045 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.9224, allocations: 420.6 kB / 1.045 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.9224, allocations: 4.688 kB / 1.045 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.9225, allocations: 34.56 kB / 1.045 GB, free: 8.094 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.275e-06/0.9225, allocations: 0 / 1.045 GB, free: 8.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004475/0.9269, allocations: 2.052 MB / 1.047 GB, free: 5.945 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.927, allocations: 59.41 kB / 1.047 GB, free: 5.875 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.9275, allocations: 462.7 kB / 1.048 GB, free: 5.41 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.9276, allocations: 33.7 kB / 1.048 GB, free: 5.371 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.9279, allocations: 383.1 kB / 1.048 GB, free: 4.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.928, allocations: 157.8 kB / 1.048 GB, free: 4.836 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.9281, allocations: 16 kB / 1.048 GB, free: 4.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002253/0.9283, allocations: 358.8 kB / 1.049 GB, free: 4.461 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.9286, allocations: 245.2 kB / 1.049 GB, free: 4.223 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.9291, allocations: 457 kB / 1.049 GB, free: 3.68 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.9296, allocations: 311.8 kB / 1.05 GB, free: 3.375 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.9296, allocations: 0 / 1.05 GB, free: 3.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001836/0.9314, allocations: 1.062 MB / 1.051 GB, free: 2.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.9315, allocations: 11.95 kB / 1.051 GB, free: 2.281 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.9315, allocations: 12.09 kB / 1.051 GB, free: 2.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009722/0.9325, allocations: 331 kB / 1.051 GB, free: 1.934 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.9328, allocations: 99.81 kB / 1.051 GB, free: 1.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007114/0.9399, allocations: 6.935 MB / 1.058 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.9405, allocations: 36.02 kB / 1.058 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.9405, allocations: 27.94 kB / 1.058 GB, free: 10.3 MB / 0.8106 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 (53): * Single equations (assignments): 49 * 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: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003878/0.9409, allocations: 245.5 kB / 1.058 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.941, allocations: 55.34 kB / 1.058 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.9427, allocations: 0.9198 MB / 1.059 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.9427, allocations: 4 kB / 1.059 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9428, allocations: 4 kB / 1.059 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9428, allocations: 0 / 1.059 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.9453, allocations: 1.704 MB / 1.061 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.9454, allocations: 0 / 1.061 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.9455, allocations: 47.91 kB / 1.061 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008796/0.9464, allocations: 327.5 kB / 1.061 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.9465, allocations: 8 kB / 1.061 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00686/0.9533, allocations: 6.932 MB / 1.068 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.9534, allocations: 7.953 kB / 1.068 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.9551, allocations: 0.9989 MB / 1.069 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.9554, allocations: 180.3 kB / 1.069 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.9555, allocations: 8 kB / 1.069 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.9557, allocations: 23.98 kB / 1.069 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.9558, allocations: 47.77 kB / 1.069 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.9559, allocations: 16 kB / 1.069 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003905/0.9563, allocations: 310.9 kB / 1.07 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9563, allocations: 0 / 1.07 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008354/0.9571, allocations: 192 kB / 1.07 GB, free: 13.57 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001657/0.9573, allocations: 115.1 kB / 1.07 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.9592, allocations: 1.191 MB / 1.071 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9592, allocations: 0 / 1.071 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.9604, allocations: 0.8629 MB / 1.072 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009246/0.9613, allocations: 195 kB / 1.072 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.9636, allocations: 1.544 MB / 1.074 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.9643, allocations: 0.9921 MB / 1.075 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.9644, allocations: 43.38 kB / 1.075 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of SimCode: time 8.11e-07/0.9644, allocations: 0 / 1.075 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.02362/0.988, allocations: 18.6 MB / 1.093 GB, free: 5.875 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_LCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1