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.0008847/0.0008843, allocations: 100.5 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.00137/0.00137, allocations: 175.4 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.787/1.787, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0006609/0.0006609, allocations: 13.22 kB / 0.6744 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3452, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006838/0.3521, allocations: 4.821 MB / 0.7926 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005034/0.3572, allocations: 2.481 MB / 0.7951 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005105/0.3578, allocations: 27.81 kB / 0.7951 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.3582, allocations: 103.1 kB / 0.7952 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.3592, allocations: 330.2 kB / 0.7955 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009504/0.3602, allocations: 280.9 kB / 0.7958 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.3615, allocations: 1.041 MB / 0.7968 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.3628, allocations: 0.7476 MB / 0.7975 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004643/0.3633, allocations: 314.7 kB / 0.7978 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004991/0.3638, allocations: 374.6 kB / 0.7982 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.3639, allocations: 24 kB / 0.7982 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.3644, allocations: 183.7 kB / 0.7984 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.3647, allocations: 219.4 kB / 0.7986 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3648, allocations: 149.3 kB / 0.7987 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3659, allocations: 0.7171 MB / 0.7994 GB, free: 108 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.3659, allocations: 3.938 kB / 0.7994 GB, free: 104 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3659, allocations: 4 kB / 0.7994 GB, free: 100 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.3659, allocations: 0 / 0.7994 GB, free: 100 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.001541/0.3675, allocations: 0.8567 MB / 0.8003 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3675, allocations: 8.031 kB / 0.8003 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3689, allocations: 198.9 kB / 0.8005 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/0.3697, allocations: 469.5 kB / 0.8009 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.3697, allocations: 36.98 kB / 0.8009 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.3699, allocations: 48 kB / 0.801 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3712, allocations: 0.8239 MB / 0.8018 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.3712, allocations: 7.938 kB / 0.8018 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.3713, allocations: 31.94 kB / 0.8018 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.3715, allocations: 64.94 kB / 0.8019 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009004/0.3724, allocations: 0.5658 MB / 0.8024 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/0.3771, allocations: 4.597 MB / 0.8069 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.3776, allocations: 299.2 kB / 0.8072 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.378, allocations: 225.3 kB / 0.8074 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.378, allocations: 4.281 kB / 0.8074 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.3781, allocations: 34.84 kB / 0.8075 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 4.067e-06/0.3781, allocations: 0 / 0.8075 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.00595/0.384, allocations: 2.627 MB / 0.81 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3841, allocations: 63.41 kB / 0.8101 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.3846, allocations: 450 kB / 0.8105 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3847, allocations: 33.7 kB / 0.8106 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.385, allocations: 339.6 kB / 0.8109 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.3851, allocations: 142 kB / 0.811 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.3851, allocations: 8 kB / 0.811 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3853, allocations: 366.8 kB / 0.8114 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.3857, allocations: 233 kB / 0.8116 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.3862, allocations: 414.4 kB / 0.812 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.3867, allocations: 289.5 kB / 0.8123 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3867, allocations: 4 kB / 0.8123 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001654/0.3884, allocations: 0.9172 MB / 0.8132 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.3884, allocations: 8 kB / 0.8132 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.3885, allocations: 8.656 kB / 0.8132 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007837/0.3892, allocations: 222.4 kB / 0.8134 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.3898, allocations: 111.8 kB / 0.8135 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/0.3955, allocations: 4.942 MB / 0.8183 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.396, allocations: 27.97 kB / 0.8184 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.3961, allocations: 24 kB / 0.8184 GB, free: 11.46 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 (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.0004014/0.3965, allocations: 233.6 kB / 0.8186 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.3966, allocations: 55.34 kB / 0.8187 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3982, allocations: 0.774 MB / 0.8194 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3982, allocations: 4 kB / 0.8194 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3982, allocations: 4 kB / 0.8194 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3982, allocations: 192 / 0.8194 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.4007, allocations: 1.499 MB / 0.8209 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4007, allocations: 7.969 kB / 0.8209 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.4011, allocations: 75.88 kB / 0.821 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006441/0.4018, allocations: 202.4 kB / 0.8212 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.4018, allocations: 8 kB / 0.8212 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005074/0.4069, allocations: 4.868 MB / 0.8259 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.4069, allocations: 4.031 kB / 0.8259 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.4088, allocations: 1.127 MB / 0.827 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.4091, allocations: 172.4 kB / 0.8272 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.4092, allocations: 11.98 kB / 0.8272 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.4095, allocations: 27.97 kB / 0.8272 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/0.4096, allocations: 39.97 kB / 0.8273 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.4096, allocations: 12 kB / 0.8273 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004246/0.41, allocations: 302.9 kB / 0.8276 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.41, allocations: 0 / 0.8276 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000868/0.4109, allocations: 168 kB / 0.8277 GB, free: 1.309 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 (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.0002428/0.4112, allocations: 115.3 kB / 0.8278 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.413, allocations: 0.9972 MB / 0.8288 GB, free: 156 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.413, allocations: 0 / 0.8288 GB, free: 156 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009619/0.414, allocations: 0.6837 MB / 0.8295 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.4149, allocations: 165.8 kB / 0.8296 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.4173, allocations: 1.561 MB / 0.8312 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.4179, allocations: 0.9416 MB / 0.8321 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.418, allocations: 43.42 kB / 0.8321 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/0.418, allocations: 4 kB / 0.8321 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.02073/0.4388, allocations: 14.7 MB / 0.8465 GB, free: 13.98 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++ 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_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