Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.009536/0.009536, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002384/0.002384, allocations: 196.9 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.137/2.137, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003038/0.003037, allocations: 278.9 kB / 290.9 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003347/0.003347, allocations: 89.53 kB / 0.5951 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2522, allocations: 86.99 MB / 0.6801 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01593/0.2681, allocations: 10.84 MB / 0.6907 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.2842, allocations: 8.797 MB / 0.6993 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.2867, allocations: 55.62 kB / 0.6993 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005239/0.2921, allocations: 1.562 MB / 0.7009 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.299, allocations: 1.388 MB / 0.7022 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.3019, allocations: 0.62 MB / 0.7028 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006119/0.3081, allocations: 2.902 MB / 0.7056 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.3114, allocations: 1.325 MB / 0.7069 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.3141, allocations: 0.887 MB / 0.7078 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.3167, allocations: 1.027 MB / 0.7088 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006512/0.3174, allocations: 88 kB / 0.7089 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.3201, allocations: 0.9162 MB / 0.7098 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.3211, allocations: 0.5179 MB / 0.7103 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.3233, allocations: 0.8314 MB / 0.7111 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.3269, allocations: 2.015 MB / 0.7131 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3269, allocations: 0 / 0.7131 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3269, allocations: 0 / 0.7131 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001232/0.3271, allocations: 0 / 0.7131 GB, free: 15.25 MB / 0.5137 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.004537/0.3316, allocations: 2.018 MB / 0.715 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3317, allocations: 8.031 kB / 0.7151 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.3435, allocations: 2.05 MB / 0.7171 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.3465, allocations: 1.122 MB / 0.7181 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.3466, allocations: 86.69 kB / 0.7182 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006244/0.3472, allocations: 116.1 kB / 0.7183 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006892/0.3541, allocations: 2.482 MB / 0.7208 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.7e-05/0.3543, allocations: 15.84 kB / 0.7208 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.3545, allocations: 55.92 kB / 0.7208 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003867/0.3549, allocations: 130.1 kB / 0.721 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007545/0.3625, allocations: 2.537 MB / 0.7234 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01767/0.3802, allocations: 10.07 MB / 0.7333 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/0.386, allocations: 1.954 MB / 0.7352 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002656/0.3887, allocations: 0.9699 MB / 0.7361 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.825e-05/0.3888, allocations: 8.438 kB / 0.7361 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.3888, allocations: 39 kB / 0.7362 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 3.527e-06/0.3889, allocations: 0 / 0.7362 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.03142/0.4203, allocations: 8.707 MB / 0.7447 GB, free: 13.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.4204, allocations: 60.06 kB / 0.7447 GB, free: 13.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.4227, allocations: 1.104 MB / 0.7458 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.4229, allocations: 45.7 kB / 0.7459 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008277/0.4237, allocations: 0.7379 MB / 0.7466 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004271/0.4241, allocations: 279.9 kB / 0.7468 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005179/0.4247, allocations: 206.4 kB / 0.747 GB, free: 11.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4249, allocations: 341.9 kB / 0.7474 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.4278, allocations: 1.079 MB / 0.7484 GB, free: 9.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.4308, allocations: 1.301 MB / 0.7497 GB, free: 8.562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/0.4366, allocations: 2.378 MB / 0.752 GB, free: 6.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/0.4367, allocations: 4 kB / 0.752 GB, free: 6.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009325/0.446, allocations: 3.269 MB / 0.7552 GB, free: 2.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.4461, allocations: 8 kB / 0.7552 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4461, allocations: 8 kB / 0.7552 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.4491, allocations: 0.7874 MB / 0.756 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.4509, allocations: 419.3 kB / 0.7564 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/0.4682, allocations: 14.7 MB / 0.7707 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.4706, allocations: 291.5 kB / 0.771 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/0.4709, allocations: 48.44 kB / 0.7711 GB, free: 1.438 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.001143/0.4721, allocations: 402.2 kB / 0.7715 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.4726, allocations: 142.3 kB / 0.7716 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5212/0.9937, allocations: 3.202 MB / 0.7747 GB, free: 89.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.9938, allocations: 12.41 kB / 0.7747 GB, free: 89.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/0.9938, allocations: 7.375 kB / 0.7747 GB, free: 89.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.9938, allocations: 6.266 kB / 0.7747 GB, free: 89.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/1.007, allocations: 4.9 MB / 0.7795 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.007, allocations: 2.969 kB / 0.7795 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/1.009, allocations: 353.7 kB / 0.7799 GB, free: 88.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002919/1.012, allocations: 0.6979 MB / 0.7806 GB, free: 88.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/1.012, allocations: 32.3 kB / 0.7806 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.027, allocations: 14.32 MB / 0.7946 GB, free: 76.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.027, allocations: 3.625 kB / 0.7946 GB, free: 76.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008604/1.035, allocations: 3.041 MB / 0.7975 GB, free: 75.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/1.036, allocations: 394.8 kB / 0.7979 GB, free: 75.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004439/1.037, allocations: 18.58 kB / 0.7979 GB, free: 75.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/1.039, allocations: 293.9 kB / 0.7982 GB, free: 75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/1.039, allocations: 79.39 kB / 0.7983 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.04, allocations: 45.94 kB / 0.7983 GB, free: 74.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001663/1.041, allocations: 0.7384 MB / 0.7991 GB, free: 74.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.041, allocations: 0 / 0.7991 GB, free: 74.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002758/1.044, allocations: 432.5 kB / 0.7995 GB, free: 74.63 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003799/1.044, allocations: 132.2 kB / 0.7996 GB, free: 74.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009478/1.054, allocations: 3.611 MB / 0.8031 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.054, allocations: 1.125 kB / 0.8031 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005419/1.059, allocations: 2.377 MB / 0.8054 GB, free: 71.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/1.063, allocations: 486.7 kB / 0.8059 GB, free: 71.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.073, allocations: 4.163 MB / 0.81 GB, free: 68.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.075, allocations: 1.385 MB / 0.8113 GB, free: 67.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007563/1.076, allocations: 127 kB / 0.8114 GB, free: 67.63 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.076, allocations: 0 / 0.8114 GB, free: 67.63 MB / 0.5606 GB Notification: Performance of Templates: time 0.07073/1.146, allocations: 74.99 MB / 0.8847 GB, free: 15.23 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.o] Error 1