Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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/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.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.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.0008835/0.0008834, allocations: 100.8 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.001711/0.001711, allocations: 178.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.484/1.484, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.797/2.797, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 11.94 kB / 0.8717 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9005/0.9009, allocations: 153.6 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006766/0.9077, allocations: 5.986 MB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.9127, allocations: 2.877 MB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.9134, allocations: 19.88 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.9139, allocations: 138.8 kB / 1.031 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.9151, allocations: 409.7 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009978/0.9161, allocations: 319.3 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.9176, allocations: 1.326 MB / 1.033 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.9193, allocations: 0.931 MB / 1.033 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007556/0.9201, allocations: 394.4 kB / 1.034 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.9208, allocations: 482.2 kB / 1.034 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.9208, allocations: 36 kB / 1.034 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.9214, allocations: 187.8 kB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.9217, allocations: 271.2 kB / 1.035 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.9219, allocations: 173.3 kB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008828/0.9228, allocations: 0.9135 MB / 1.036 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9228, allocations: 0 / 1.036 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9228, allocations: 0 / 1.036 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.9228, allocations: 0 / 1.036 GB, free: 2.602 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00158/0.9244, allocations: 1.009 MB / 1.037 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9244, allocations: 8.031 kB / 1.037 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.9259, allocations: 242.7 kB / 1.037 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.9267, allocations: 0.5249 MB / 1.038 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.9267, allocations: 53.25 kB / 1.038 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.9268, allocations: 60 kB / 1.038 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.9283, allocations: 1.077 MB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.9284, allocations: 7.938 kB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.9284, allocations: 35.98 kB / 1.039 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.9286, allocations: 89.23 kB / 1.039 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.9297, allocations: 0.7426 MB / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00553/0.9353, allocations: 5.89 MB / 1.045 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/0.9363, allocations: 0.5593 MB / 1.046 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.9367, allocations: 329.9 kB / 1.046 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.9368, allocations: 4.438 kB / 1.046 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.9368, allocations: 43 kB / 1.046 GB, free: 7.293 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.494e-06/0.9368, allocations: 0 / 1.046 GB, free: 7.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003635/0.9405, allocations: 1.982 MB / 1.048 GB, free: 5.211 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.9405, allocations: 63.8 kB / 1.048 GB, free: 5.137 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.9411, allocations: 0.5508 MB / 1.049 GB, free: 4.578 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.9412, allocations: 37.7 kB / 1.049 GB, free: 4.535 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.9415, allocations: 414.9 kB / 1.049 GB, free: 4.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.9416, allocations: 173.6 kB / 1.049 GB, free: 3.949 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.9416, allocations: 8 kB / 1.049 GB, free: 3.941 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9418, allocations: 374.8 kB / 1.05 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.9422, allocations: 273.8 kB / 1.05 GB, free: 3.301 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.9427, allocations: 493 kB / 1.05 GB, free: 2.727 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.9432, allocations: 342 kB / 1.051 GB, free: 2.395 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9432, allocations: 0 / 1.051 GB, free: 2.395 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001739/0.9449, allocations: 1.087 MB / 1.052 GB, free: 1.289 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.945, allocations: 8 kB / 1.052 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.945, allocations: 7.938 kB / 1.052 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007919/0.9458, allocations: 275.7 kB / 1.052 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.9463, allocations: 123.8 kB / 1.052 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006072/0.9523, allocations: 6.603 MB / 1.059 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.953, allocations: 44.02 kB / 1.059 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.9531, allocations: 32 kB / 1.059 GB, free: 9.652 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 (67): * Single equations (assignments): 63 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004487/0.9536, allocations: 253.5 kB / 1.059 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.9537, allocations: 71.16 kB / 1.059 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.9552, allocations: 0.8808 MB / 1.06 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.9553, allocations: 7.953 kB / 1.06 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9553, allocations: 4 kB / 1.06 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.9553, allocations: 0 / 1.06 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.9578, allocations: 1.732 MB / 1.062 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9578, allocations: 192 / 1.062 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.9581, allocations: 63.95 kB / 1.062 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006863/0.9588, allocations: 267.1 kB / 1.062 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.9589, allocations: 12 kB / 1.062 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005677/0.9645, allocations: 6.575 MB / 1.068 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9646, allocations: 3.938 kB / 1.068 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.9661, allocations: 0.9796 MB / 1.069 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.9664, allocations: 192.2 kB / 1.07 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.9665, allocations: 12 kB / 1.07 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.9668, allocations: 32.08 kB / 1.07 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.967, allocations: 43.89 kB / 1.07 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.967, allocations: 19.94 kB / 1.07 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004465/0.9675, allocations: 387 kB / 1.07 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9675, allocations: 4 kB / 1.07 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00083/0.9683, allocations: 220 kB / 1.07 GB, free: 13.2 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 (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.9685, allocations: 115.6 kB / 1.07 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.9704, allocations: 1.26 MB / 1.072 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.9704, allocations: 4 kB / 1.072 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.9716, allocations: 0.8894 MB / 1.072 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.9726, allocations: 200.5 kB / 1.073 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.9749, allocations: 1.641 MB / 1.074 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.9755, allocations: 1.009 MB / 1.075 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.9757, allocations: 55.36 kB / 1.075 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of SimCode: time 9.82e-07/0.9757, allocations: 0 / 1.075 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.02607/1.002, allocations: 20.57 MB / 1.095 GB, free: 3.316 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1