Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 99.59 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.001496/0.001496, allocations: 176.1 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.501/1.501, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 12.22 kB / 0.8717 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8437, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005183/0.8489, allocations: 3.874 MB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004608/0.8535, allocations: 2.994 MB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.8539, allocations: 7.938 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.8546, allocations: 155.1 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008865/0.8555, allocations: 314.5 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.856, allocations: 171.6 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007775/0.8568, allocations: 0.6541 MB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.858, allocations: 0.7431 MB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.8584, allocations: 183.2 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.8588, allocations: 235.1 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.8588, allocations: 20 kB / 1.031 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005466/0.8594, allocations: 231.7 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.8595, allocations: 131.6 kB / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.8596, allocations: 105.5 kB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000723/0.8604, allocations: 0.6721 MB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.8604, allocations: 8 kB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8604, allocations: 4 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.8604, allocations: 0 / 1.032 GB, free: 6.605 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001235/0.8616, allocations: 0.7167 MB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8617, allocations: 11.98 kB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.8642, allocations: 0.6897 MB / 1.033 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.865, allocations: 474.7 kB / 1.034 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.8651, allocations: 24.66 kB / 1.034 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.8651, allocations: 35.89 kB / 1.034 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.8666, allocations: 0.7865 MB / 1.035 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.8667, allocations: 0 / 1.035 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.8667, allocations: 15.98 kB / 1.035 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.8669, allocations: 48.59 kB / 1.035 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.8687, allocations: 0.8803 MB / 1.036 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.8726, allocations: 2.859 MB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.874, allocations: 0.5253 MB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/0.8747, allocations: 260.6 kB / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.8748, allocations: 81.11 kB / 1.039 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.8748, allocations: 42.56 kB / 1.039 GB, free: 14.79 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.8748, allocations: 0 / 1.039 GB, free: 14.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=24): time 0.01039/0.8852, allocations: 3.218 MB / 1.042 GB, free: 11.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.8853, allocations: 81.11 kB / 1.042 GB, free: 11.44 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.8859, allocations: 417.6 kB / 1.043 GB, free: 11.03 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.8859, allocations: 29.7 kB / 1.043 GB, free: 10.99 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.8861, allocations: 239.8 kB / 1.043 GB, free: 10.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.8862, allocations: 78.84 kB / 1.043 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.8862, allocations: 4 kB / 1.043 GB, free: 10.67 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8864, allocations: 350.8 kB / 1.043 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007928/0.8872, allocations: 359.7 kB / 1.044 GB, free: 9.969 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008215/0.888, allocations: 453.1 kB / 1.044 GB, free: 9.488 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/0.8888, allocations: 392.8 kB / 1.045 GB, free: 9.105 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8888, allocations: 0 / 1.045 GB, free: 9.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004849/0.8937, allocations: 1.55 MB / 1.046 GB, free: 7.543 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.8938, allocations: 146.1 kB / 1.046 GB, free: 7.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8939, allocations: 0 / 1.046 GB, free: 7.371 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/0.8974, allocations: 0.8558 MB / 1.047 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.898, allocations: 131.8 kB / 1.047 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/0.9052, allocations: 4.653 MB / 1.052 GB, free: 1.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.906, allocations: 124 kB / 1.052 GB, free: 1.336 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.906, allocations: 12 kB / 1.052 GB, free: 1.324 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.9061, allocations: 4 kB / 1.052 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003702/0.9098, allocations: 1.261 MB / 1.053 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9098, allocations: 3.984 kB / 1.053 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.9121, allocations: 0.5588 MB / 1.054 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.9128, allocations: 147.8 kB / 1.054 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/0.9163, allocations: 2.506 MB / 1.056 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.917, allocations: 107.8 kB / 1.056 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.917, allocations: 11.98 kB / 1.056 GB, free: 12.58 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004405/0.9175, allocations: 325 kB / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.9176, allocations: 35.53 kB / 1.057 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/0.9219, allocations: 1.423 MB / 1.058 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.9219, allocations: 4 kB / 1.058 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.9219, allocations: 0 / 1.058 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9219, allocations: 7.922 kB / 1.058 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.927, allocations: 2.086 MB / 1.06 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.9271, allocations: 4 kB / 1.06 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.9274, allocations: 87.98 kB / 1.06 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003107/0.9305, allocations: 0.7974 MB / 1.061 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.9306, allocations: 8 kB / 1.061 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/0.9365, allocations: 4.481 MB / 1.065 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.9365, allocations: 3.938 kB / 1.065 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00449/0.941, allocations: 1.441 MB / 1.067 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/0.9415, allocations: 168.7 kB / 1.067 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.9416, allocations: 4 kB / 1.067 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.9423, allocations: 95.84 kB / 1.067 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.9425, allocations: 27.91 kB / 1.067 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.9426, allocations: 12 kB / 1.067 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000582/0.9432, allocations: 311.1 kB / 1.067 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9432, allocations: 0 / 1.067 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001199/0.9444, allocations: 200 kB / 1.068 GB, free: 0.668 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000299/0.9447, allocations: 117.6 kB / 1.068 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003639/0.9483, allocations: 1.631 MB / 1.069 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9484, allocations: 0 / 1.069 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.9496, allocations: 0.6729 MB / 1.07 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007611/0.9504, allocations: 121.2 kB / 1.07 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.9526, allocations: 1.25 MB / 1.071 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.9532, allocations: 0.9092 MB / 1.072 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.9533, allocations: 39.42 kB / 1.072 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.9533, allocations: 4 kB / 1.072 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.01764/0.971, allocations: 12.57 MB / 1.085 GB, free: 15.24 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGridCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1