Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.0008406/0.0008409, allocations: 102.6 kB / 15.71 MB, free: 460 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.0009565/0.0009566, allocations: 171.9 kB / 16.58 MB, free: 6.398 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.577/1.577, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 436.7 MB / 0.7113 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 8 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9084/0.9087, allocations: 153.7 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006489/0.9153, allocations: 5.394 MB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004795/0.9201, allocations: 2.963 MB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.9206, allocations: 27.81 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.9209, allocations: 123 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009358/0.9219, allocations: 370 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.9229, allocations: 354.1 kB / 1.031 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.9241, allocations: 1.217 MB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.9257, allocations: 0.9092 MB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.9263, allocations: 362.5 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.9269, allocations: 438.4 kB / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.9269, allocations: 28 kB / 1.034 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.9276, allocations: 243.6 kB / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.9278, allocations: 259.2 kB / 1.034 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.928, allocations: 165.2 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009005/0.9289, allocations: 0.8707 MB / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.9289, allocations: 0 / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9289, allocations: 0 / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.929, allocations: 4 kB / 1.035 GB, free: 3.328 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.001358/0.9303, allocations: 0.925 MB / 1.036 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9304, allocations: 8.031 kB / 1.036 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.9317, allocations: 214.7 kB / 1.036 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.9325, allocations: 0.5172 MB / 1.037 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.9326, allocations: 53.25 kB / 1.037 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.9327, allocations: 63.91 kB / 1.037 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.9341, allocations: 1.022 MB / 1.038 GB, free: 340 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.9341, allocations: 11.92 kB / 1.038 GB, free: 328 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.9342, allocations: 24 kB / 1.038 GB, free: 304 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.312e-05/0.9343, allocations: 69.28 kB / 1.038 GB, free: 232 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.9353, allocations: 0.6879 MB / 1.039 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.9404, allocations: 5.764 MB / 1.044 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.9413, allocations: 0.5904 MB / 1.045 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/0.942, allocations: 422 kB / 1.045 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.9421, allocations: 8 kB / 1.045 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.9421, allocations: 38.56 kB / 1.045 GB, free: 8.246 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.475e-06/0.9421, allocations: 0 / 1.045 GB, free: 8.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004103/0.9462, allocations: 2.053 MB / 1.047 GB, free: 6.098 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.9463, allocations: 59.34 kB / 1.047 GB, free: 6.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.9467, allocations: 446.8 kB / 1.048 GB, free: 5.578 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.9468, allocations: 37.7 kB / 1.048 GB, free: 5.535 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.947, allocations: 387 kB / 1.048 GB, free: 5.152 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.9472, allocations: 145.9 kB / 1.048 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.9472, allocations: 16 kB / 1.048 GB, free: 4.992 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9474, allocations: 362.8 kB / 1.049 GB, free: 4.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.9477, allocations: 245.2 kB / 1.049 GB, free: 4.391 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.9482, allocations: 453 kB / 1.049 GB, free: 3.852 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.9486, allocations: 315.8 kB / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9486, allocations: 0 / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001716/0.9504, allocations: 1.057 MB / 1.051 GB, free: 2.465 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.9504, allocations: 13.52 kB / 1.051 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9504, allocations: 4.875 kB / 1.051 GB, free: 2.449 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009608/0.9514, allocations: 343 kB / 1.051 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.9517, allocations: 91.89 kB / 1.051 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006502/0.9582, allocations: 6.939 MB / 1.058 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.9586, allocations: 35.98 kB / 1.058 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.9587, allocations: 24 kB / 1.058 GB, free: 10.48 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.0003744/0.959, allocations: 245.5 kB / 1.058 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.9591, allocations: 63.23 kB / 1.058 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.9608, allocations: 0.9159 MB / 1.059 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9608, allocations: 4 kB / 1.059 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.9608, allocations: 4 kB / 1.059 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.9608, allocations: 3.984 kB / 1.059 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.9633, allocations: 1.696 MB / 1.061 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.9633, allocations: 7.984 kB / 1.061 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.9635, allocations: 43.91 kB / 1.061 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008504/0.9643, allocations: 323.5 kB / 1.061 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.9644, allocations: 12.09 kB / 1.061 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006098/0.9705, allocations: 6.923 MB / 1.068 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9705, allocations: 3.953 kB / 1.068 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.9721, allocations: 0.9953 MB / 1.069 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.9724, allocations: 184.4 kB / 1.069 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.9724, allocations: 8 kB / 1.069 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.9727, allocations: 23.97 kB / 1.069 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.9728, allocations: 43.84 kB / 1.069 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.9728, allocations: 16 kB / 1.069 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003496/0.9732, allocations: 298.9 kB / 1.069 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9732, allocations: 0 / 1.069 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000882/0.9741, allocations: 200 kB / 1.07 GB, free: 13.77 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.0001928/0.9743, allocations: 107.2 kB / 1.07 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.976, allocations: 1.207 MB / 1.071 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9761, allocations: 0 / 1.071 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.9772, allocations: 0.8629 MB / 1.072 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/0.9781, allocations: 188.8 kB / 1.072 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.9803, allocations: 1.542 MB / 1.073 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.9809, allocations: 0.9921 MB / 1.074 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.981, allocations: 35.44 kB / 1.074 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of SimCode: time 7.52e-07/0.981, allocations: 0 / 1.074 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of Templates: time 0.02129/1.002, allocations: 18.4 MB / 1.092 GB, free: 6.27 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1