Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 92.08 kB / 16.02 MB, free: 80 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.00158/0.00158, allocations: 184.9 kB / 16.92 MB, free: 6.926 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.269/2.269, allocations: 205.4 MB / 223.1 MB, free: 5.742 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 2.03/2.03, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005612/0.0005612, allocations: 22.81 kB / 0.675 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3463, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009194/0.3556, allocations: 6.279 MB / 0.7947 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006192/0.3618, allocations: 3.022 MB / 0.7976 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000884/0.3627, allocations: 23.81 kB / 0.7977 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.3633, allocations: 130.9 kB / 0.7978 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.3649, allocations: 485.6 kB / 0.7982 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.3663, allocations: 383.7 kB / 0.7986 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.3685, allocations: 1.591 MB / 0.8002 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.3707, allocations: 1.016 MB / 0.8011 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.3717, allocations: 390.3 kB / 0.8015 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008005/0.3725, allocations: 0.4902 MB / 0.802 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.3726, allocations: 36 kB / 0.802 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3737, allocations: 439.1 kB / 0.8025 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.3741, allocations: 275.2 kB / 0.8027 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.3746, allocations: 427.5 kB / 0.8031 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.3758, allocations: 0.9197 MB / 0.804 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3758, allocations: 0 / 0.804 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3758, allocations: 0 / 0.804 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.3759, allocations: 0 / 0.804 GB, free: 11.66 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002177/0.378, allocations: 0.9973 MB / 0.805 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.3781, allocations: 12.03 kB / 0.805 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.3799, allocations: 239.5 kB / 0.8052 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.381, allocations: 0.553 MB / 0.8058 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.3811, allocations: 45.67 kB / 0.8058 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.3812, allocations: 72.3 kB / 0.8059 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.3831, allocations: 1.081 MB / 0.8069 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.3832, allocations: 7.938 kB / 0.807 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.3833, allocations: 31.98 kB / 0.807 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.3835, allocations: 85.25 kB / 0.8071 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.385, allocations: 0.7543 MB / 0.8078 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007997/0.393, allocations: 5.893 MB / 0.8136 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.3942, allocations: 0.5583 MB / 0.8141 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.3948, allocations: 330 kB / 0.8144 GB, free: 384 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.3949, allocations: 4.438 kB / 0.8144 GB, free: 380 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3949, allocations: 39 kB / 0.8145 GB, free: 332 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.357e-06/0.3949, allocations: 0 / 0.8145 GB, free: 332 kB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004546/0.3995, allocations: 1.998 MB / 0.8164 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3996, allocations: 59.78 kB / 0.8165 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007924/0.4004, allocations: 0.5547 MB / 0.817 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.4004, allocations: 37.7 kB / 0.817 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.4008, allocations: 414.9 kB / 0.8174 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4009, allocations: 165.5 kB / 0.8176 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.401, allocations: 61.69 kB / 0.8177 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4012, allocations: 378.6 kB / 0.818 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.4017, allocations: 273.8 kB / 0.8183 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.4024, allocations: 497 kB / 0.8188 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.4036, allocations: 0.8132 MB / 0.8195 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4036, allocations: 0 / 0.8195 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002215/0.4059, allocations: 1.091 MB / 0.8206 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.4059, allocations: 12.03 kB / 0.8206 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.4059, allocations: 8 kB / 0.8206 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009212/0.4069, allocations: 275.1 kB / 0.8209 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.4074, allocations: 127.8 kB / 0.821 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.4159, allocations: 6.607 MB / 0.8275 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/0.4169, allocations: 39.97 kB / 0.8275 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.417, allocations: 28 kB / 0.8275 GB, free: 2.027 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0005887/0.4176, allocations: 258.2 kB / 0.8278 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.4178, allocations: 75.19 kB / 0.8278 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.4196, allocations: 0.8885 MB / 0.8287 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4196, allocations: 4 kB / 0.8287 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4196, allocations: 4 kB / 0.8287 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.4197, allocations: 3.984 kB / 0.8287 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.4225, allocations: 1.716 MB / 0.8304 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4225, allocations: 3.938 kB / 0.8304 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.4228, allocations: 63.89 kB / 0.8305 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007813/0.4236, allocations: 271.3 kB / 0.8307 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.4236, allocations: 12 kB / 0.8307 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007575/0.4312, allocations: 6.583 MB / 0.8372 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.4313, allocations: 4.172 kB / 0.8372 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.4336, allocations: 0.9877 MB / 0.8381 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.4343, allocations: 192.2 kB / 0.8383 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.4345, allocations: 19.94 kB / 0.8383 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.4351, allocations: 31.97 kB / 0.8384 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.4353, allocations: 43.88 kB / 0.8384 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.4354, allocations: 16 kB / 0.8384 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007305/0.4361, allocations: 387.1 kB / 0.8388 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4361, allocations: 0 / 0.8388 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001371/0.4375, allocations: 220 kB / 0.839 GB, free: 5.555 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002861/0.4378, allocations: 115.6 kB / 0.8391 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002811/0.4406, allocations: 1.283 MB / 0.8404 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4407, allocations: 3.938 kB / 0.8404 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.4423, allocations: 0.8854 MB / 0.8412 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.444, allocations: 209.2 kB / 0.8414 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.4476, allocations: 1.712 MB / 0.8431 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.4487, allocations: 1.009 MB / 0.8441 GB, free: 152 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4489, allocations: 51.38 kB / 0.8441 GB, free: 100 kB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/0.4489, allocations: 0 / 0.8441 GB, free: 100 kB / 0.6544 GB Notification: Performance of Templates: time 0.02904/0.478, allocations: 20.55 MB / 0.8642 GB, free: 11.59 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_RCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1