Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.000997, allocations: 98.8 kB / 16.02 MB, free: 76 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.001269/0.001269, allocations: 181.4 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 278.5 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004322, allocations: 12.59 kB / 0.5993 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1896, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003935/0.1935, allocations: 2.751 MB / 0.6885 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003256/0.1968, allocations: 1.899 MB / 0.6903 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.1971, allocations: 7.938 kB / 0.6903 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.1973, allocations: 36.52 kB / 0.6903 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007117/0.1981, allocations: 177.6 kB / 0.6905 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008476/0.1989, allocations: 213.1 kB / 0.6907 GB, free: 9.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006455/0.1996, allocations: 448.9 kB / 0.6912 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008041/0.2004, allocations: 323.2 kB / 0.6915 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.2007, allocations: 117.2 kB / 0.6916 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.2011, allocations: 139.5 kB / 0.6917 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.2012, allocations: 12 kB / 0.6917 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008468/0.2021, allocations: 467.1 kB / 0.6922 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2022, allocations: 86.75 kB / 0.6922 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.2024, allocations: 129.2 kB / 0.6924 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006015/0.203, allocations: 375.1 kB / 0.6927 GB, free: 7.926 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.203, allocations: 0 / 0.6927 GB, free: 7.926 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.203, allocations: 0 / 0.6927 GB, free: 7.926 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.203, allocations: 0 / 0.6927 GB, free: 7.926 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009932/0.204, allocations: 0.516 MB / 0.6932 GB, free: 7.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2041, allocations: 8.031 kB / 0.6932 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008859/0.205, allocations: 113.2 kB / 0.6933 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.2053, allocations: 256.7 kB / 0.6936 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2054, allocations: 20.8 kB / 0.6936 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.2054, allocations: 17 kB / 0.6936 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.206, allocations: 355.4 kB / 0.694 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.206, allocations: 7.938 kB / 0.694 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.2061, allocations: 11.98 kB / 0.694 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.2061, allocations: 24.42 kB / 0.694 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.2066, allocations: 293.5 kB / 0.6943 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.209, allocations: 1.733 MB / 0.696 GB, free: 4.324 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.2095, allocations: 326.1 kB / 0.6963 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.2097, allocations: 113.6 kB / 0.6964 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.2098, allocations: 85.09 kB / 0.6965 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.2098, allocations: 42.5 kB / 0.6965 GB, free: 3.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.2098, allocations: 0 / 0.6965 GB, free: 3.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002563/0.2124, allocations: 0.9715 MB / 0.6975 GB, free: 2.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.2125, allocations: 85.14 kB / 0.6975 GB, free: 2.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.2127, allocations: 228.3 kB / 0.6978 GB, free: 2.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2127, allocations: 25.7 kB / 0.6978 GB, free: 2.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2129, allocations: 172.1 kB / 0.698 GB, free: 2.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.213, allocations: 82.89 kB / 0.698 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.213, allocations: 25.72 kB / 0.6981 GB, free: 2.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2132, allocations: 334.8 kB / 0.6984 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.2134, allocations: 131.9 kB / 0.6985 GB, free: 1.574 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.2136, allocations: 210.5 kB / 0.6987 GB, free: 1.336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.2141, allocations: 362.7 kB / 0.6991 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2142, allocations: 4 kB / 0.6991 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009531/0.2151, allocations: 0.5159 MB / 0.6996 GB, free: 424 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2151, allocations: 4 kB / 0.6996 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2152, allocations: 4 kB / 0.6996 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.2157, allocations: 151.6 kB / 0.6997 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.216, allocations: 59.91 kB / 0.6998 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.2192, allocations: 3.977 MB / 0.7037 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.2195, allocations: 15.98 kB / 0.7037 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.2195, allocations: 16 kB / 0.7037 GB, free: 11.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.2197, allocations: 161.7 kB / 0.7038 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.2198, allocations: 19.81 kB / 0.7039 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008985/0.2207, allocations: 470.5 kB / 0.7043 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2207, allocations: 4 kB / 0.7043 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2208, allocations: 0 / 0.7043 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2208, allocations: 7.984 kB / 0.7043 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.2224, allocations: 1.017 MB / 0.7053 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2225, allocations: 0 / 0.7053 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.2226, allocations: 39.91 kB / 0.7053 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.2231, allocations: 147.6 kB / 0.7055 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2231, allocations: 7.938 kB / 0.7055 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/0.2261, allocations: 3.942 MB / 0.7093 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.2261, allocations: 8.031 kB / 0.7094 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.2269, allocations: 0.6289 MB / 0.71 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2271, allocations: 132.7 kB / 0.7101 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.2272, allocations: 8 kB / 0.7101 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.2274, allocations: 19.98 kB / 0.7101 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.2275, allocations: 19.97 kB / 0.7101 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.2275, allocations: 16 kB / 0.7102 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001576/0.2276, allocations: 157.5 kB / 0.7103 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2277, allocations: 3.938 kB / 0.7103 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005404/0.2282, allocations: 95.92 kB / 0.7104 GB, free: 4.461 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002355/0.2284, allocations: 142.6 kB / 0.7105 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009768/0.2294, allocations: 0.5712 MB / 0.7111 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2294, allocations: 0 / 0.7111 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005251/0.23, allocations: 408.8 kB / 0.7115 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.2306, allocations: 46.12 kB / 0.7115 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2318, allocations: 0.7856 MB / 0.7123 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.2322, allocations: 0.7792 MB / 0.7131 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.2323, allocations: 31.42 kB / 0.7131 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2323, allocations: 0 / 0.7131 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of Templates: time 0.01152/0.2438, allocations: 7.586 MB / 0.7205 GB, free: 9.992 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoadCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.o] Error 1