Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 102.7 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.001445/0.001445, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.529/1.529, allocations: 223.2 MB / 240.6 MB, free: 5.27 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.455/2.455, allocations: 390.4 MB / 0.6662 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 11.98 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9318/0.9322, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00624/0.9385, allocations: 4.836 MB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004375/0.9429, allocations: 2.464 MB / 0.9615 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005603/0.9435, allocations: 21.44 kB / 0.9616 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.9439, allocations: 100.9 kB / 0.9617 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000927/0.9448, allocations: 332.2 kB / 0.962 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009143/0.9458, allocations: 289.5 kB / 0.9623 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.947, allocations: 1.044 MB / 0.9633 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.9483, allocations: 0.7553 MB / 0.964 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005786/0.9489, allocations: 305.1 kB / 0.9643 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.9494, allocations: 378.8 kB / 0.9647 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.9495, allocations: 24.88 kB / 0.9647 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.9501, allocations: 188.3 kB / 0.9649 GB, free: 276 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.9503, allocations: 221.9 kB / 0.9651 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.9504, allocations: 147.2 kB / 0.9652 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000954/0.9514, allocations: 0.7178 MB / 0.9659 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.9514, allocations: 4 kB / 0.9659 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9514, allocations: 0 / 0.9659 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.9515, allocations: 1.375 kB / 0.9659 GB, free: 15.55 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001918/0.9534, allocations: 0.8498 MB / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.966e-05/0.9535, allocations: 9.031 kB / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.9551, allocations: 196.3 kB / 0.967 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009877/0.9561, allocations: 468.1 kB / 0.9674 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.9562, allocations: 40.33 kB / 0.9674 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.9563, allocations: 58.56 kB / 0.9675 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.9579, allocations: 0.8236 MB / 0.9683 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.958, allocations: 9.875 kB / 0.9683 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.958, allocations: 19.25 kB / 0.9683 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.9582, allocations: 70.89 kB / 0.9684 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.9593, allocations: 0.5676 MB / 0.9689 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.9644, allocations: 4.586 MB / 0.9734 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.9649, allocations: 294.5 kB / 0.9737 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.9653, allocations: 220.9 kB / 0.9739 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.9653, allocations: 4.312 kB / 0.9739 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.9654, allocations: 41.25 kB / 0.974 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.9654, allocations: 0 / 0.974 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.00618/0.9716, allocations: 2.643 MB / 0.9765 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.9716, allocations: 55.28 kB / 0.9766 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.9723, allocations: 449.7 kB / 0.977 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.9724, allocations: 36.14 kB / 0.9771 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.9726, allocations: 339.4 kB / 0.9774 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.9728, allocations: 144.8 kB / 0.9775 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.9728, allocations: 14.25 kB / 0.9775 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.973, allocations: 359.5 kB / 0.9779 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.9735, allocations: 236.8 kB / 0.9781 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.974, allocations: 404.2 kB / 0.9785 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.9745, allocations: 296 kB / 0.9788 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.9745, allocations: 5.359 kB / 0.9788 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001744/0.9762, allocations: 0.9166 MB / 0.9797 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.9763, allocations: 7.25 kB / 0.9797 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.9763, allocations: 4.75 kB / 0.9797 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007715/0.9771, allocations: 227.6 kB / 0.9799 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.9776, allocations: 116.4 kB / 0.98 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.9829, allocations: 4.934 MB / 0.9848 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.9835, allocations: 39.97 kB / 0.9849 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.9836, allocations: 24 kB / 0.9849 GB, free: 15.64 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003809/0.984, allocations: 217.6 kB / 0.9851 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.9841, allocations: 55.34 kB / 0.9852 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.9858, allocations: 0.7774 MB / 0.9859 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9858, allocations: 7.984 kB / 0.9859 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9858, allocations: 4 kB / 0.9859 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.9858, allocations: 7.938 kB / 0.9859 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.9886, allocations: 1.494 MB / 0.9874 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.9886, allocations: 0 / 0.9874 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.989, allocations: 67.83 kB / 0.9875 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008917/0.9899, allocations: 206.6 kB / 0.9876 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.9899, allocations: 12 kB / 0.9877 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006535/0.9965, allocations: 4.88 MB / 0.9924 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9965, allocations: 0 / 0.9924 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.9987, allocations: 1.129 MB / 0.9935 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.9991, allocations: 168.5 kB / 0.9937 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.9992, allocations: 16 kB / 0.9937 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.9995, allocations: 19.97 kB / 0.9937 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.9996, allocations: 35.91 kB / 0.9938 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.9997, allocations: 16 kB / 0.9938 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005136/1, allocations: 310.9 kB / 0.9941 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1, allocations: 0 / 0.9941 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008077/1.001, allocations: 164 kB / 0.9942 GB, free: 5.488 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/1.001, allocations: 119.5 kB / 0.9943 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.003, allocations: 1.004 MB / 0.9953 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.003, allocations: 0 / 0.9953 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.004, allocations: 0.6837 MB / 0.996 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/1.005, allocations: 162.1 kB / 0.9961 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/1.008, allocations: 1.548 MB / 0.9977 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/1.009, allocations: 0.9494 MB / 0.9986 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.009, allocations: 39.44 kB / 0.9986 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/1.009, allocations: 0 / 0.9986 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of Templates: time 0.02138/1.03, allocations: 14.71 MB / 1.013 GB, free: 2.156 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.ACLine_RLCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1