Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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_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_latest_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_latest_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.0008867/0.0008867, 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.0009666/0.0009666, allocations: 176.6 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.639/1.639, 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 11.0.0-master/package.mo): time 2.802/2.802, allocations: 436.7 MB / 0.7113 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003711, allocations: 8 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.8914, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00583/0.8973, allocations: 4.837 MB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004242/0.9016, allocations: 2.468 MB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.902, allocations: 23.88 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.9023, allocations: 103.1 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008588/0.9032, allocations: 326.2 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009647/0.9042, allocations: 286.5 kB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.9058, allocations: 1.049 MB / 1.031 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.9074, allocations: 0.7437 MB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.908, allocations: 310.7 kB / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.9086, allocations: 374.6 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.9087, allocations: 24 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006294/0.9093, allocations: 187.7 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.9096, allocations: 219.4 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.9098, allocations: 141.4 kB / 1.033 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.9107, allocations: 0.7265 MB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.9107, allocations: 0 / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.136e-06/0.9107, allocations: 4 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.9108, allocations: 0 / 1.033 GB, free: 5.258 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001613/0.9124, allocations: 0.8452 MB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.9124, allocations: 11.98 kB / 1.034 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.9138, allocations: 199 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.9146, allocations: 481.4 kB / 1.035 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.9146, allocations: 40.98 kB / 1.035 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.9148, allocations: 51.91 kB / 1.035 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.916, allocations: 0.8277 MB / 1.036 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.916, allocations: 11.92 kB / 1.036 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.9161, allocations: 23.98 kB / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/0.9162, allocations: 64.95 kB / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.9171, allocations: 0.5735 MB / 1.036 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004313/0.9214, allocations: 4.581 MB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.9219, allocations: 291.3 kB / 1.041 GB, free: 12.75 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.9222, allocations: 225.3 kB / 1.041 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.9223, allocations: 288 / 1.041 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.9223, allocations: 46.77 kB / 1.041 GB, free: 12.47 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.442e-06/0.9223, allocations: 0 / 1.041 GB, free: 12.47 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005374/0.9277, allocations: 2.635 MB / 1.044 GB, free: 9.711 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.9278, allocations: 67.34 kB / 1.044 GB, free: 9.633 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.9283, allocations: 442 kB / 1.044 GB, free: 9.191 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.9283, allocations: 37.7 kB / 1.044 GB, free: 9.148 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.9286, allocations: 339.6 kB / 1.045 GB, free: 8.809 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.9287, allocations: 142 kB / 1.045 GB, free: 8.668 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.9287, allocations: 11.94 kB / 1.045 GB, free: 8.656 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.9289, allocations: 366.7 kB / 1.045 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.9292, allocations: 233 kB / 1.045 GB, free: 8.062 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.9297, allocations: 412.1 kB / 1.046 GB, free: 7.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.9302, allocations: 293.4 kB / 1.046 GB, free: 7.305 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9302, allocations: 4 kB / 1.046 GB, free: 7.301 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001571/0.9318, allocations: 0.9133 MB / 1.047 GB, free: 6.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.9318, allocations: 8 kB / 1.047 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.9318, allocations: 8.656 kB / 1.047 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007098/0.9325, allocations: 226.4 kB / 1.047 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.933, allocations: 119.7 kB / 1.047 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004786/0.9378, allocations: 4.935 MB / 1.052 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.9383, allocations: 31.97 kB / 1.052 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.9383, allocations: 24 kB / 1.052 GB, free: 0.6172 MB / 0.795 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.0003772/0.9387, allocations: 229.6 kB / 1.052 GB, free: 392 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.9388, allocations: 55.34 kB / 1.052 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.9403, allocations: 0.7658 MB / 1.053 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.9403, allocations: 4 kB / 1.053 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.9403, allocations: 4 kB / 1.053 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.9404, allocations: 3.984 kB / 1.053 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.9427, allocations: 1.498 MB / 1.055 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9427, allocations: 8.156 kB / 1.055 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.9431, allocations: 71.94 kB / 1.055 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006171/0.9437, allocations: 206.3 kB / 1.055 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.9437, allocations: 12 kB / 1.055 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/0.9482, allocations: 4.857 MB / 1.06 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.9482, allocations: 8.109 kB / 1.06 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.9499, allocations: 1.119 MB / 1.061 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.9501, allocations: 172.4 kB / 1.061 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.9502, allocations: 15.94 kB / 1.061 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.9505, allocations: 23.97 kB / 1.061 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.9506, allocations: 39.95 kB / 1.061 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.9507, allocations: 12 kB / 1.061 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003485/0.951, allocations: 310.9 kB / 1.061 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.951, allocations: 0 / 1.061 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007294/0.9518, allocations: 168 kB / 1.062 GB, free: 6.469 MB / 0.8106 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.0001611/0.9519, allocations: 111.2 kB / 1.062 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.9535, allocations: 1.008 MB / 1.063 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9536, allocations: 0 / 1.063 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009972/0.9546, allocations: 0.676 MB / 1.063 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.9555, allocations: 167.6 kB / 1.063 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.9579, allocations: 1.555 MB / 1.065 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.9586, allocations: 0.9416 MB / 1.066 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.9587, allocations: 39.44 kB / 1.066 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/0.9587, allocations: 4 kB / 1.066 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of Templates: time 0.02044/0.9792, allocations: 14.71 MB / 1.08 GB, free: 3.141 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1