Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.00105, allocations: 99.59 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.001475/0.001476, allocations: 175.6 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.739/1.739, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.832/1.832, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0007983/0.0007985, allocations: 16.41 kB / 0.6744 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3385, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01161/0.3502, allocations: 9.713 MB / 0.7974 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3639, allocations: 8.249 MB / 0.8055 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.3662, allocations: 47.69 kB / 0.8055 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3674, allocations: 269.8 kB / 0.8058 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.3724, allocations: 1.262 MB / 0.807 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.3742, allocations: 470.3 kB / 0.8075 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.378, allocations: 2.45 MB / 0.8099 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00342/0.3814, allocations: 1.785 MB / 0.8116 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.3834, allocations: 0.7858 MB / 0.8124 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.3854, allocations: 0.9066 MB / 0.8132 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.3856, allocations: 60 kB / 0.8133 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.3869, allocations: 463.4 kB / 0.8137 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005313/0.3875, allocations: 478.4 kB / 0.8142 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004495/0.3879, allocations: 344.8 kB / 0.8145 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.3903, allocations: 1.944 MB / 0.8164 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.3903, allocations: 0 / 0.8164 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.947e-06/0.3903, allocations: 0 / 0.8164 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.887e-05/0.3904, allocations: 0 / 0.8164 GB, free: 14.63 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003195/0.3936, allocations: 1.745 MB / 0.8181 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3937, allocations: 12.03 kB / 0.8181 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009898/0.4036, allocations: 2.108 MB / 0.8202 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.4064, allocations: 1.075 MB / 0.8213 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.4065, allocations: 86.33 kB / 0.8213 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.4067, allocations: 112 kB / 0.8214 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005429/0.4121, allocations: 2.498 MB / 0.8239 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.4122, allocations: 19.73 kB / 0.8239 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.4124, allocations: 51.98 kB / 0.824 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/0.4127, allocations: 130.1 kB / 0.8241 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006447/0.4192, allocations: 2.58 MB / 0.8266 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.4335, allocations: 10.12 MB / 0.8365 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0055/0.4391, allocations: 1.995 MB / 0.8384 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.4416, allocations: 0.9956 MB / 0.8394 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/0.4417, allocations: 4.438 kB / 0.8394 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.4417, allocations: 39 kB / 0.8394 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 4.829e-06/0.4417, allocations: 0 / 0.8394 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02783/0.4696, allocations: 8.769 MB / 0.848 GB, free: 13.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.4697, allocations: 64.05 kB / 0.8481 GB, free: 13.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.4714, allocations: 1.085 MB / 0.8491 GB, free: 12.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.4715, allocations: 37.7 kB / 0.8492 GB, free: 12.03 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007091/0.4722, allocations: 0.7379 MB / 0.8499 GB, free: 11.29 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.4725, allocations: 280 kB / 0.8501 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.4726, allocations: 16 kB / 0.8502 GB, free: 10.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.4728, allocations: 349.9 kB / 0.8505 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/0.4756, allocations: 1.091 MB / 0.8516 GB, free: 9.551 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/0.4785, allocations: 1.321 MB / 0.8529 GB, free: 8.133 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/0.4813, allocations: 1.146 MB / 0.854 GB, free: 6.988 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.4813, allocations: 0 / 0.854 GB, free: 6.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00821/0.4895, allocations: 3.307 MB / 0.8572 GB, free: 3.645 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.4896, allocations: 8 kB / 0.8572 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.4896, allocations: 7.938 kB / 0.8572 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/0.4922, allocations: 0.7957 MB / 0.858 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.4939, allocations: 431.2 kB / 0.8584 GB, free: 2.387 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.511, allocations: 14.68 MB / 0.8727 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.5135, allocations: 295.6 kB / 0.873 GB, free: 2.348 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/0.5139, allocations: 55.95 kB / 0.8731 GB, free: 2.293 MB / 0.6856 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001259/0.5151, allocations: 405.9 kB / 0.8735 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/0.5157, allocations: 142.3 kB / 0.8736 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008316/0.524, allocations: 3.238 MB / 0.8768 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.5241, allocations: 11.95 kB / 0.8768 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.04e-05/0.5241, allocations: 8 kB / 0.8768 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5241, allocations: 3.984 kB / 0.8768 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.536, allocations: 4.936 MB / 0.8816 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.5361, allocations: 4 kB / 0.8816 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/0.5376, allocations: 363.7 kB / 0.882 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.5399, allocations: 0.7052 MB / 0.8826 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.5401, allocations: 31.97 kB / 0.8827 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/0.5564, allocations: 14.31 MB / 0.8966 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.5565, allocations: 7.938 kB / 0.8967 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008231/0.5647, allocations: 3.081 MB / 0.8997 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.5659, allocations: 387.2 kB / 0.9 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005386/0.5665, allocations: 16 kB / 0.9 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.5684, allocations: 303.5 kB / 0.9003 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.5687, allocations: 80.48 kB / 0.9004 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.5689, allocations: 32.16 kB / 0.9004 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001548/0.5704, allocations: 0.7326 MB / 0.9012 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5705, allocations: 0 / 0.9012 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002209/0.5727, allocations: 436 kB / 0.9016 GB, free: 3.742 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003629/0.573, allocations: 123.1 kB / 0.9017 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00838/0.5814, allocations: 3.656 MB / 0.9053 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.5815, allocations: 0 / 0.9053 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004852/0.5863, allocations: 2.387 MB / 0.9076 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/0.59, allocations: 486.1 kB / 0.9081 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009142/0.5992, allocations: 4.052 MB / 0.912 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.6008, allocations: 1.388 MB / 0.9134 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006347/0.6014, allocations: 127.3 kB / 0.9135 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of SimCode: time 1.153e-06/0.6014, allocations: 0 / 0.9135 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of Templates: time 0.6521/1.254, allocations: 74.84 MB / 0.9866 GB, free: 85.57 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.ACLineCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.o] Error 1