Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001057/0.001057, allocations: 102.8 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.00139/0.00139, allocations: 175.4 kB / 16.58 MB, free: 6.863 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.463/1.463, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.4 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004075, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.903/0.9034, allocations: 142.3 MB / 0.9544 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.00466/0.9082, allocations: 3.854 MB / 0.9582 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.9121, allocations: 2.999 MB / 0.9611 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.9125, allocations: 6.688 kB / 0.9611 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.9132, allocations: 154.2 kB / 0.9613 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.9143, allocations: 323 kB / 0.9616 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.915, allocations: 168.5 kB / 0.9617 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008843/0.9159, allocations: 0.6565 MB / 0.9624 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.9171, allocations: 0.7326 MB / 0.9631 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.9175, allocations: 184.1 kB / 0.9633 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.9181, allocations: 239.5 kB / 0.9635 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.95e-05/0.9182, allocations: 21.88 kB / 0.9635 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.9191, allocations: 233.1 kB / 0.9637 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.9193, allocations: 135.1 kB / 0.9639 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.9195, allocations: 101.3 kB / 0.964 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009736/0.9205, allocations: 0.6749 MB / 0.9646 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9205, allocations: 0 / 0.9646 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9205, allocations: 0 / 0.9646 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.9205, allocations: 0 / 0.9646 GB, free: 0.5664 MB / 0.7169 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.001198/0.9217, allocations: 0.7187 MB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.9218, allocations: 13.2 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.9244, allocations: 0.6891 MB / 0.966 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.9253, allocations: 473.1 kB / 0.9665 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.9254, allocations: 21.41 kB / 0.9665 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.575e-05/0.9255, allocations: 35.88 kB / 0.9665 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.9273, allocations: 0.7856 MB / 0.9673 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.9273, allocations: 4.906 kB / 0.9673 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.9274, allocations: 16.14 kB / 0.9673 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.9276, allocations: 56.17 kB / 0.9674 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.93, allocations: 0.8725 MB / 0.9682 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.9347, allocations: 2.856 MB / 0.971 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.9362, allocations: 0.5226 MB / 0.9715 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.9369, allocations: 270.2 kB / 0.9718 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.937, allocations: 86.56 kB / 0.9719 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.9371, allocations: 35.66 kB / 0.9719 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 3.176e-06/0.9371, allocations: 3.938 kB / 0.9719 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.01048/0.9476, allocations: 3.21 MB / 0.975 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.9477, allocations: 88.72 kB / 0.9751 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.9483, allocations: 425.6 kB / 0.9755 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.9483, allocations: 31.03 kB / 0.9755 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.9485, allocations: 235.9 kB / 0.9758 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.9486, allocations: 86.27 kB / 0.9759 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.9487, allocations: 5.031 kB / 0.9759 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.9488, allocations: 344.4 kB / 0.9762 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/0.9497, allocations: 363.4 kB / 0.9765 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008655/0.9505, allocations: 447.2 kB / 0.977 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008431/0.9514, allocations: 396.2 kB / 0.9773 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9514, allocations: 0 / 0.9773 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00444/0.9558, allocations: 1.534 MB / 0.9788 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.956, allocations: 152.3 kB / 0.979 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.956, allocations: 4 kB / 0.979 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/0.9594, allocations: 0.8481 MB / 0.9798 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.96, allocations: 127.8 kB / 0.9799 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006657/0.9667, allocations: 4.668 MB / 0.9845 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/0.9675, allocations: 115.8 kB / 0.9846 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.9676, allocations: 19.92 kB / 0.9846 GB, free: 324 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.9676, allocations: 4 kB / 0.9846 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003637/0.9712, allocations: 1.261 MB / 0.9859 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.9713, allocations: 4.188 kB / 0.9859 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/0.9735, allocations: 0.5586 MB / 0.9864 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.9742, allocations: 143.8 kB / 0.9865 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.9778, allocations: 2.498 MB / 0.989 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.9786, allocations: 119.9 kB / 0.9891 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.9786, allocations: 12 kB / 0.9891 GB, free: 11.58 MB / 0.7481 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.000488/0.9791, allocations: 321 kB / 0.9894 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.9793, allocations: 43.42 kB / 0.9895 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.9836, allocations: 1.425 MB / 0.9909 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.9836, allocations: 4 kB / 0.9909 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.9836, allocations: 0 / 0.9909 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.9837, allocations: 0 / 0.9909 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/0.9888, allocations: 2.092 MB / 0.9929 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.9889, allocations: 0 / 0.9929 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.9892, allocations: 87.89 kB / 0.993 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.9924, allocations: 0.7819 MB / 0.9937 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.9925, allocations: 11.98 kB / 0.9938 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00597/0.9985, allocations: 4.485 MB / 0.9981 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.9985, allocations: 4.031 kB / 0.9981 GB, free: 1.965 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/1.003, allocations: 1.435 MB / 0.9995 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/1.003, allocations: 164.7 kB / 0.9997 GB, free: 324 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.003, allocations: 8 kB / 0.9997 GB, free: 316 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/1.004, allocations: 99.84 kB / 0.9998 GB, free: 216 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.004, allocations: 27.91 kB / 0.9998 GB, free: 188 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/1.004, allocations: 11.94 kB / 0.9998 GB, free: 176 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000512/1.004, allocations: 311.1 kB / 1 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.004, allocations: 3.938 kB / 1 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001121/1.006, allocations: 212 kB / 1 GB, free: 15.66 MB / 0.7637 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.0002353/1.006, allocations: 113 kB / 1 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003562/1.009, allocations: 1.628 MB / 1.002 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.009, allocations: 0 / 1.002 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/1.011, allocations: 0.6651 MB / 1.003 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/1.012, allocations: 122.3 kB / 1.003 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/1.014, allocations: 1.249 MB / 1.004 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/1.014, allocations: 0.9093 MB / 1.005 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/1.015, allocations: 35.42 kB / 1.005 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of SimCode: time 9.52e-07/1.015, allocations: 0 / 1.005 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of Templates: time 0.0176/1.032, allocations: 12.6 MB / 1.017 GB, free: 14.24 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1