Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001262/0.001267, allocations: 96.14 kB / 15.87 MB, free: 16 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.001847/0.001847, allocations: 193.7 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5491 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002413, allocations: 75.86 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3381, allocations: 114.5 MB / 0.7833 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00932/0.3475, allocations: 5.464 MB / 0.7887 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004982/0.3525, allocations: 2.643 MB / 0.7913 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005984/0.3531, allocations: 31.75 kB / 0.7913 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.355, allocations: 0.6228 MB / 0.7919 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.3562, allocations: 386.1 kB / 0.7923 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3574, allocations: 358.5 kB / 0.7926 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.3588, allocations: 1.244 MB / 0.7938 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008278/0.3596, allocations: 462.2 kB / 0.7943 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.3601, allocations: 330.5 kB / 0.7946 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.3608, allocations: 414.4 kB / 0.795 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/0.3609, allocations: 36 kB / 0.795 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.3618, allocations: 447 kB / 0.7954 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.3621, allocations: 223.4 kB / 0.7956 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.3625, allocations: 326.3 kB / 0.796 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008561/0.3633, allocations: 0.7482 MB / 0.7967 GB, free: 292 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3633, allocations: 0 / 0.7967 GB, free: 292 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3633, allocations: 0 / 0.7967 GB, free: 292 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.3634, allocations: 0 / 0.7967 GB, free: 292 kB / 0.6075 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.00184/0.3652, allocations: 0.9621 MB / 0.7976 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3653, allocations: 8.031 kB / 0.7976 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.3667, allocations: 199.8 kB / 0.7978 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007605/0.3675, allocations: 498.3 kB / 0.7983 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.3675, allocations: 37.38 kB / 0.7983 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.3677, allocations: 52.55 kB / 0.7984 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.369, allocations: 0.8324 MB / 0.7992 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.369, allocations: 4 kB / 0.7992 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.3691, allocations: 24 kB / 0.7992 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.3693, allocations: 64.94 kB / 0.7993 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009695/0.3703, allocations: 0.5735 MB / 0.7998 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005736/0.376, allocations: 4.577 MB / 0.8043 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.3766, allocations: 295.3 kB / 0.8046 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.377, allocations: 229.3 kB / 0.8048 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3771, allocations: 288 / 0.8048 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.3771, allocations: 38.84 kB / 0.8049 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 7.484e-06/0.3772, allocations: 3.984 kB / 0.8049 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.006845/0.384, allocations: 2.631 MB / 0.8074 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.3841, allocations: 55.41 kB / 0.8075 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.3848, allocations: 461.9 kB / 0.8079 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.3849, allocations: 33.7 kB / 0.808 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.3853, allocations: 343.6 kB / 0.8083 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.3855, allocations: 149.9 kB / 0.8084 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.3858, allocations: 102.2 kB / 0.8085 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002794/0.3861, allocations: 362.8 kB / 0.8089 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.3865, allocations: 233 kB / 0.8091 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006455/0.3872, allocations: 406.5 kB / 0.8095 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.3884, allocations: 0.6817 MB / 0.8101 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3884, allocations: 3.938 kB / 0.8101 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00199/0.3904, allocations: 0.9246 MB / 0.811 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.3905, allocations: 8 kB / 0.8111 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.3905, allocations: 8 kB / 0.8111 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008958/0.3914, allocations: 215 kB / 0.8113 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.392, allocations: 119.8 kB / 0.8114 GB, free: 348 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005953/0.3979, allocations: 4.939 MB / 0.8162 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.3985, allocations: 31.97 kB / 0.8162 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.3985, allocations: 27.98 kB / 0.8163 GB, free: 10.94 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004095/0.3989, allocations: 222 kB / 0.8165 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3991, allocations: 59.34 kB / 0.8165 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.4007, allocations: 0.774 MB / 0.8173 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4007, allocations: 4 kB / 0.8173 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4008, allocations: 0 / 0.8173 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4008, allocations: 3.984 kB / 0.8173 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.4037, allocations: 1.498 MB / 0.8188 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.4037, allocations: 7.922 kB / 0.8188 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.4041, allocations: 72.11 kB / 0.8188 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007733/0.4049, allocations: 202.3 kB / 0.819 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.405, allocations: 15.98 kB / 0.819 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005562/0.4105, allocations: 4.868 MB / 0.8238 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.4106, allocations: 4 kB / 0.8238 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.4126, allocations: 1.139 MB / 0.8249 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.4129, allocations: 172.4 kB / 0.8251 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4131, allocations: 8 kB / 0.8251 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.4134, allocations: 23.97 kB / 0.8251 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/0.4135, allocations: 43.83 kB / 0.8251 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.4136, allocations: 16.06 kB / 0.8252 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004021/0.414, allocations: 310.9 kB / 0.8255 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.414, allocations: 0 / 0.8255 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008028/0.4148, allocations: 164 kB / 0.8256 GB, free: 0.7656 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.415, allocations: 123.1 kB / 0.8257 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.417, allocations: 0.9965 MB / 0.8267 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.417, allocations: 0 / 0.8267 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4182, allocations: 0.6879 MB / 0.8274 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4192, allocations: 164.6 kB / 0.8275 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.4222, allocations: 1.591 MB / 0.8291 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/0.423, allocations: 0.9377 MB / 0.83 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.4232, allocations: 43.42 kB / 0.83 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/0.4232, allocations: 0 / 0.83 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.02502/0.4482, allocations: 14.76 MB / 0.8445 GB, free: 13.35 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1